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

Rename the function so it has namespace associated with the driver.
Rename the local variable used for the private data pointer.
Remove the unnecessary casts.

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