staging: comedi: usbduxsigma: rename usbdux_pwm_irq()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Thu, 23 May 2013 20:03:06 +0000 (13:03 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:41:05 +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 493898068bd660c9295d7bfad50d72bb18390c17..79f714c7c3051531557ed7a5ca117952f704ba39 100644 (file)
@@ -1168,7 +1168,7 @@ static int usbdux_pwm_cancel(struct comedi_device *dev,
        return send_dux_commands(dev, SENDPWMOFF);
 }
 
-static void usbduxsub_pwm_irq(struct urb *urb)
+static void usbduxsigma_pwm_irq(struct urb *urb)
 {
        struct comedi_device *dev = urb->context;
        struct usbduxsigma_private *devpriv = dev->private;
@@ -1225,7 +1225,7 @@ static int usbduxsigma_submit_pwm_urb(struct comedi_device *dev)
        /* in case of a resubmission after an unlink... */
        usb_fill_bulk_urb(urb, usb, usb_sndbulkpipe(usb, PWM_EP),
                          urb->transfer_buffer, devpriv->sizePwmBuf,
-                         usbduxsub_pwm_irq, dev);
+                         usbduxsigma_pwm_irq, dev);
 
        return usb_submit_urb(urb, GFP_ATOMIC);
 }