USB: serial: spcp8x5.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:34 +0000 (13:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:34 +0000 (13:12 -0800)
commita385c150a49e8ef49cd27318a6fd7759ed6bfa42
tree00c7d7165b0ea06e27c4347556520e9a7eae2b98
parentc9d521747872ecb77ba39bb9a8162449cd74d343
USB: serial: spcp8x5.c: use module_usb_serial_driver

This converts the spcp8x5.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/spcp8x5.c