]> Pileus Git - ~andy/linux/commit
staging: comedi: usbduxsigma: tidy up chanToInterval()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 20:09:08 +0000 (13:09 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:11 +0000 (20:41 +0900)
commitfffe8239f51342f2c7ef7aa0f56bf6f210be258b
tree6ad64000fe2485eb33428753dcdece514824dcfc
parent7333d50b8adbb162b511950f8ba90900c99940e0
staging: comedi: usbduxsigma: tidy up chanToInterval()

Rename the function to have namespace associated with the driver.
Rename the CamelCase parameter 'nChannels' to avoid the checkpatch.pl
warning.

Tidy up the function a bit.

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