USB: serial: zio.c: use module_usb_serial_driver
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:46 +0000 (13:12 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Feb 2012 21:12:46 +0000 (13:12 -0800)
commitdba607f9f0aebfa8f29b3eb911250aa19d5d71a8
treef5372da401168b3f2b15621ca97bea425f5efb0f
parent421f38835fe677d8c2e8c25628ae9cd4019653d2
USB: serial: zio.c: use module_usb_serial_driver

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