USB: serial: hp4x.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:49 +0000 (13:11 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:11:49 +0000 (13:11 -0800)
commit68e9c9a7fdbddab3407596b3e7f1a4972d045444
tree1ee2e095106da820e926fae432254e4f062e4fec
parentdb62c08128acdb6f37038f3711621b52963fe5eb
USB: serial: hp4x.c: use module_usb_serial_driver

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