]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: whiteheat.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:44 +0000 (13:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:44 +0000 (13:12 -0800)
commita6c0c4ac6e22595e2c505ffe2c372537b5be45ea
tree359cb7989142f13f8a73c5e3445d28da8305f62e
parent6ff659f751065af0654225ffa14183b90204bb2b
USB: serial: whiteheat.c: use module_usb_serial_driver

This converts the whiteheat.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: Support Department <support@connecttech.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/whiteheat.c