]> git.baikalelectronics.ru Git - kernel.git/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)
commit4c31eb19ecfb02838e3f9dabbbddb297ad69190f
tree6ad64000fe2485eb33428753dcdece514824dcfc
parent28f3ad1944d8e6013c598488cf58d873f48fbbc4
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