staging: comedi: usbduxsigma: tidy up usbdux_pwm_start()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 19:59:24 +0000 (12:59 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:03 +0000 (20:41 +0900)
commita65b091554965e292b5b10977ecffacff74d8908
treed4d987c1eb3370d170970f5cba9e6321dfee3826
parentab58a6e35d5f2bbbdd54095df642bcc364e8e3a2
staging: comedi: usbduxsigma: tidy up usbdux_pwm_start()

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

Remove the unnecessary cast of the pwm delay.

Use memset to initialize the buffer instead of the for loop.

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