USB: serial: funsoft.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:44 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:44 +0000 (13:11 -0800)
commit65e3b087d55b224a8c036976535601dd66a7cebd
tree4e1d72cf16d4e58174320af92af7bc21edb26c3e
parent10a6b9ce8ecf0dcaabb10089bdf1b4bb30f3092a
USB: serial: funsoft.c: use module_usb_serial_driver

This converts the funsoft.c driver to use the module_usb_serial_driver() call
instead of having to have a module_init/module_exit function, saving a lot
of duplicated code.

CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Alan Stern <stern@rowland.harvard.edu>
CC: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/funsoft.c