提交 ebe9f1cf 编写于 作者: H H Hartley Sweeten 提交者: Greg Kroah-Hartman

staging: comedi: usbduxfast: rename usbduxfastsub_submit_InURBs()

Rename this CamelCase function to fix the checkpatch.pl warning.
Signed-off-by: NH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 bbb2d2d6
......@@ -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?? */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册