USB: serial: refactor read urb submission in generic driver
authorJohan Hovold <jhovold@gmail.com>
Wed, 17 Mar 2010 22:05:53 +0000 (23:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:33 +0000 (13:21 -0700)
commit41bd72f9041def8e3334d3e3693862d078f5cb9a
tree6a63cccfedd49a8a6fd407dd275657fc52e1fb93
parentf26788da3b342099d2b02d99ba1cb7f154d6ef7b
USB: serial: refactor read urb submission in generic driver

Use the already exported function for submitting the read urb associated
with a usb_serial_port.

Make sure it returns the result of usb_submit_urb and rename to the
more descriptive usb_serial_generic_submit_read_urb.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/generic.c
drivers/usb/serial/usb_debug.c
include/linux/usb/serial.h