From: H Hartley Sweeten Date: Tue, 14 May 2013 20:41:07 +0000 (-0700) Subject: staging: comedi: usbduxfast: rename usbduxfastsub_submit_InURBs() X-Git-Tag: firefly_0821_release~176^2~5845^2~638 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ebe9f1cf2c92c23d7f1ef1bdd399b6d94669a0b7;p=firefly-linux-kernel-4.4.55.git 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 --- 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?? */