OSDN Git Service

USB: serial: metro-usb: fix up usb_serial_register calls
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 21:33:04 +0000 (13:33 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 8 Mar 2012 21:33:04 +0000 (13:33 -0800)
commit11a4f40064f38dcc369d716bea2020f6b5e290ff
treed5fb5843527ca427be6d2cfd7b9d999d71269993
parent43d186fe992da93bb1dd34a7dd4534719624431c
USB: serial: metro-usb: fix up usb_serial_register calls

The usb serial core has changed how the driver is to be registered and
unregistered recently.  Make these changes to the driver so that it will
properly build and work.

Cc: Aleksey Babahin <tamerlan311@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/serial/metro-usb.c