]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
USB: serial: navman.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:14 +0000 (13:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:14 +0000 (13:12 -0800)
commit78365eaaa136142dfae8ae0964f533014a389f80
tree7fb5b4d79038d827f9e7aa860d6ef08131dbda57
parent54cbcf51264ee63444a7f768a3ef9a7a0e0c4449
USB: serial: navman.c: use module_usb_serial_driver

This converts the navman.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: 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/navman.c