]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: usbduxsigma: tidy up usbdux_pwm_period()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 20:02:45 +0000 (13:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:05 +0000 (20:41 +0900)
commit9fd1f2937acb3cad0f55a9bc9eb77482f6a90c85
treec68a7696aee17bd012c7d10bab4206b0c3a27822
parent914a257e7c9f87b038838aa335bf2cb2033864f0
staging: comedi: usbduxsigma: tidy up usbdux_pwm_period()

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

Modify the fx2delay calculation to remove the floating point values.

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