]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: cypress_m8.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:41 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:41 +0000 (13:11 -0800)
commitb51b9953904944441f90dc141e5e72b02baa7d9d
treee764a27002d8083e0094a6b0d298230461286eef
parent0ce0c48cad3c12d1e0ec5bace6f23f5a4161f758
USB: serial: cypress_m8.c: use module_usb_serial_driver

This converts the cypress_m8.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: Lonnie Mendez <dignome@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/cypress_m8.c