]> git.baikalelectronics.ru Git - kernel.git/commit
USB: serial: usb_debug.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:41 +0000 (13:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:41 +0000 (13:12 -0800)
commitab503f6ed05fa965b833425d6cb248cd26bdf538
treecf3f56118689016903f2b1e6147c9110343bc8c1
parent5da272a9b8b667b9f7f69652daa9e04bbf4d11cc
USB: serial: usb_debug.c: use module_usb_serial_driver

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