UEAGLE: fix ueagle-atm Oops
authormatthieu castet <castet.matthieu@free.fr>
Wed, 11 Oct 2006 21:20:56 +0000 (14:20 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 17 Oct 2006 21:46:33 +0000 (14:46 -0700)
commit9ab99c8c513313c1c5931bdbd27dcc4bc7a3b7cd
tree762680610ec09ed8d1a45aafe6c4fb6131418af8
parentdeb8ee43a23d48116cb23eb8dd1de2348efb1e80
UEAGLE: fix ueagle-atm Oops

The array of attribute passed to sysfs_create_group() must be
NULL-terminated.

The sysfs entries are created before the start of the modem state machine
to avoid to stop it in case of errors in sysfs creation.  Also
{destroy,create}_fs_entries are removed as they do nothing.

Signed-off-by: Laurent Riffard <laurent.riffard@free.fr>
Signed-off-by: Matthieu CASTET <castet.matthieu@free.fr>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/atm/ueagle-atm.c