OSDN Git Service

USB: serial: serqt_usb2.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:30 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:30 +0000 (13:11 -0800)
commite42f85f3d410a5457a2db61d883437ac9e32cecc
tree4bf6aca9ec1ca0bd4a7b33b6700413f0149bc714
parentf136e8b61c205fa6dccdc45fbda372f3acb2b5ab
USB: serial: serqt_usb2.c: use module_usb_serial_driver

This converts the serqt_usb2.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: Bill Pemberton <wfp5p@virginia.edu>
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/staging/serqt_usb2/serqt_usb2.c