]> Pileus Git - ~andy/linux/commit
staging: comedi: usbduxsigma: tidy up usbduxsub_submit_PwmURBs()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:51:14 +0000 (12:51 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:53 +0000 (20:40 +0900)
commit6028f4c01c2e5626f5279acca7ddbdc2125474a0
tree5221ae402208dca8c690789250e23246df964ed6
parent125a77fcf5836b25720b3076b988b3efa58982bf
staging: comedi: usbduxsigma: tidy up usbduxsub_submit_PwmURBs()

Rename the CamelCase function.

Pass the comedi_device pointer instead of the private data pointer
to the function.

Use a couple local variables to tidy up the function.

Remove the dev_err() message when usb_submit_urb() fails, its just
added noise.

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