staging: comedi: usbduxsigma: tidy up usbdux_ao_inttrig()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:52:59 +0000 (12:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:40:54 +0000 (20:40 +0900)
commit2d4462d28a014456e5b364106c1be4624e656d58
tree8ac9b214e1ce48b38bfbc6bbcbc46339a2bedfa3
parentedd2d33ee88cc8b1b2cd65baa4381a1c1a5ca747
staging: comedi: usbduxsigma: tidy up usbdux_ao_inttrig()

Rename the function so it has namespace associated with the driver.

Rename the local variable used for the private data pointer.

Remove the dev_err() messages, they are just added noise.

Refactor the code to remove the goto.

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