USB: serial: oti6858.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:22 +0000 (13:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:22 +0000 (13:12 -0800)
commitdb55a0492d87c80d8d9a5cf330c58dee55757cba
tree74bd27a7f3ea65dcd1bb9a184715ff25373b8781
parent9334c4c16e6fa80dc55865897337b49c1753f33b
USB: serial: oti6858.c: use module_usb_serial_driver

This converts the oti6858.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: Johan Hovold <jhovold@gmail.com>
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/oti6858.c