Rename this CamelCase function to fix the checkpatch.pl warning. Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx> Cc: Ian Abbott <abbotti@xxxxxxxxx> Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 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 10e9de3..1c02a4d 100644 --- a/drivers/staging/comedi/drivers/usbduxfast.c +++ b/drivers/staging/comedi/drivers/usbduxfast.c @@ -329,7 +329,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); @@ -463,7 +463,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; @@ -903,7 +903,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?? */ -- 1.8.1.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel