]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: cp210x.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:40 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:40 +0000 (13:11 -0800)
commitd08001ef4274e20c70cdd91604ccfbefeaeeca61
treed369dcca39f58d406a6cc86392bdfd34ce4540ca
parent3f5e3486fc97217f85e37da153da98f0accb17d2
USB: serial: cp210x.c: use module_usb_serial_driver

This converts the cp210x.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: Florian Fainelli <f.fainelli@gmail.com>
CC: "Malte Schröder" <maltesch@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/cp210x.c