mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
staging: comedi: usbduxfast: rename usbduxfastsub_submit_InURBs()
Rename this CamelCase function to fix the checkpatch.pl warning. 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>
This commit is contained in:
parent
bbb2d2d66c
commit
ebe9f1cf2c
1 changed files with 3 additions and 3 deletions
|
|
@ -326,7 +326,7 @@ static void usbduxfast_ai_interrupt(struct urb *urb)
|
|||
}
|
||||
}
|
||||
|
||||
static int usbduxfastsub_submit_InURBs(struct comedi_device *dev)
|
||||
static int usbduxfast_submit_urb(struct comedi_device *dev)
|
||||
{
|
||||
struct usb_interface *intf = comedi_to_usb_interface(dev);
|
||||
struct usb_device *usb = interface_to_usbdev(intf);
|
||||
|
|
@ -460,7 +460,7 @@ static int usbduxfast_ai_inttrig(struct comedi_device *dev,
|
|||
}
|
||||
if (!devpriv->ai_cmd_running) {
|
||||
devpriv->ai_cmd_running = 1;
|
||||
ret = usbduxfastsub_submit_InURBs(dev);
|
||||
ret = usbduxfast_submit_urb(dev);
|
||||
if (ret < 0) {
|
||||
dev_err(dev->class_dev, "urbSubmit: err=%d\n", ret);
|
||||
devpriv->ai_cmd_running = 0;
|
||||
|
|
@ -900,7 +900,7 @@ static int usbduxfast_ai_cmd(struct comedi_device *dev,
|
|||
if ((cmd->start_src == TRIG_NOW) || (cmd->start_src == TRIG_EXT)) {
|
||||
/* enable this acquisition operation */
|
||||
devpriv->ai_cmd_running = 1;
|
||||
ret = usbduxfastsub_submit_InURBs(dev);
|
||||
ret = usbduxfast_submit_urb(dev);
|
||||
if (ret < 0) {
|
||||
devpriv->ai_cmd_running = 0;
|
||||
/* fixme: unlink here?? */
|
||||
|
|
|
|||
Loading…
Reference in a new issue