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)
commit440b2168ae23d4e5fe34183dfcd94f59f6c9fa2f
treec68a7696aee17bd012c7d10bab4206b0c3a27822
parentcf9b463401886c4f70ae7ea3c2a7d2ff0cb4e3ea
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