From ebe9f1cf2c92c23d7f1ef1bdd399b6d94669a0b7 Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Tue, 14 May 2013 13:41:07 -0700 Subject: [PATCH] staging: comedi: usbduxfast: rename usbduxfastsub_submit_InURBs() Rename this CamelCase function to fix the checkpatch.pl warning. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/drivers/usbduxfast.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/drivers/usbduxfast.c b/drivers/staging/comedi/drivers/usbduxfast.c index 7702a3ec4c56..b7ecd946a0ee 100644 --- a/drivers/staging/comedi/drivers/usbduxfast.c +++ b/drivers/staging/comedi/drivers/usbduxfast.c @@ -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?? */ -- 2.34.1