]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: ark3116.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:35 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:35 +0000 (13:11 -0800)
commit5adb275fe73d92606671829fb1ef524fc2222c4c
tree2034bd97b24f4a8cea8325f9c96a97c31f628f81
parent426dc1eed4306f231a62551e5861c99077208e82
USB: serial: ark3116.c: use module_usb_serial_driver

This converts the ark3116.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>
CC: Bart Hartgers <bart.hartgers@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/ark3116.c