]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: usbduxsigma: tidy up usbdux_dio_insn_config()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 20:00:56 +0000 (13:00 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:03 +0000 (20:41 +0900)
commitdc834a8261baa324411a6bcb46e8301d671a06cf
treee888abeeb97fc20526b6dbcbb5cbef2327500f2e
parent2698348b59982bf8cdd514abd7c85bf17d248aad
staging: comedi: usbduxsigma: tidy up usbdux_dio_insn_config()

Rename the function so it has namespace associated with the driver.
Rename the local variable used for the private data pointer.
Add a local variable for the channel mask.

Remove the unnecessary comments and clean up the multi-line comment
at the end.

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