staging: comedi: usbdux: generalize the usb_submit_urb functions
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 30 Jul 2013 00:43:16 +0000 (17:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:44:51 +0000 (17:44 -0700)
commitd0b31b8b92fc246bdd2b85bba38a28a8343f4909
treedb091fb51b8fcc5ba19e4c73427529cc09f8c187
parent0260fe9380b6b457cf03df3735e7049e33b06953
staging: comedi: usbdux: generalize the usb_submit_urb functions

Generalize a helper function to replace usbduxsub_submit_{in,out}urbs().

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbdux.c