staging: comedi: usbduxsigma: rename usbdux_pwm_cancel()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 20:03:26 +0000 (13:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:06 +0000 (20:41 +0900)
Rename the function so it has namespace associated with the driver.

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

index 79f714c7c3051531557ed7a5ca117952f704ba39..e4a80fc65170220cd3a6d0ac156d295b766e62b7 100644 (file)
@@ -1157,8 +1157,8 @@ static void usbdux_pwm_stop(struct usbduxsigma_private *devpriv, int do_unlink)
        devpriv->pwm_cmd_running = 0;
 }
 
-static int usbdux_pwm_cancel(struct comedi_device *dev,
-                            struct comedi_subdevice *s)
+static int usbduxsigma_pwm_cancel(struct comedi_device *dev,
+                                 struct comedi_subdevice *s)
 {
        struct usbduxsigma_private *devpriv = dev->private;
 
@@ -1340,7 +1340,7 @@ static int usbduxsigma_pwm_config(struct comedi_device *dev,
                        return -EINVAL;
                return usbduxsigma_pwm_start(dev, s);
        case INSN_CONFIG_DISARM:
-               return usbdux_pwm_cancel(dev, s);
+               return usbduxsigma_pwm_cancel(dev, s);
        case INSN_CONFIG_GET_PWM_STATUS:
                data[1] = devpriv->pwm_cmd_running;
                return 0;