Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aff4dd06 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: usbduxsigma: rename usbdux_pwm_irq()



Rename the function so it has namespace associated with the driver.

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 440b2168
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}