]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: vivopay-serial.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:43 +0000 (13:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:43 +0000 (13:12 -0800)
commit6ff659f751065af0654225ffa14183b90204bb2b
tree007916d8a153c50701204c44a16658c738769367
parentab503f6ed05fa965b833425d6cb248cd26bdf538
USB: serial: vivopay-serial.c: use module_usb_serial_driver

This converts the vivopay-serial.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: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/vivopay-serial.c