]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: io_edgeport.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:51 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:51 +0000 (13:11 -0800)
commit83c5ebea8c0dc4280dec0b51047aba0903bc1476
tree78114830d0ee38afb46d5b95eeea1a347f6d8807
parent11d8d310c9cd7b6dd0bd822609ae4830c57ea223
USB: serial: io_edgeport.c: use module_usb_serial_driver

This converts the io_edgeport.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: Huzaifa Sidhpurwala <huzaifas@redhat.com>
CC: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/io_edgeport.c