]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commit62f85edb3d695361705c36395d084b52f7e4f795
treee888abeeb97fc20526b6dbcbb5cbef2327500f2e
parent77a52e69cb3e80dca0122acfaaa51bdbcb5dad5a
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