From: Ravishankar <[email protected]>

This is a patch to the usbduxfast.c file that fixes up a  warning found by the 
checkpatch.pl tool

Signed-off-by: Ravishankar <[email protected]>
---
 drivers/staging/comedi/drivers/usbduxfast.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/comedi/drivers/usbduxfast.c 
b/drivers/staging/comedi/drivers/usbduxfast.c
index de2e34c..97ecc84 100644
--- a/drivers/staging/comedi/drivers/usbduxfast.c
+++ b/drivers/staging/comedi/drivers/usbduxfast.c
@@ -1439,7 +1439,7 @@ static void tidy_up(struct usbduxfastsub_s *udfs)
        udfs->ai_cmd_running = 0;
 }
 
-static void usbduxfast_firmware_request_complete_handler(const struct firmware
+static void usbduxfast_firmware_req_complete_handler(const struct firmware
                                                         *fw, void *context)
 {
        struct usbduxfastsub_s *usbduxfastsub_tmp = context;
@@ -1574,14 +1574,13 @@ static int usbduxfastsub_probe(struct usb_interface 
*uinterf,
        usbduxfastsub[index].probed = 1;
        up(&start_stop_sem);
 
-       ret =
-       request_firmware_nowait(THIS_MODULE,
+       ret = request_firmware_nowait(THIS_MODULE,
                                FW_ACTION_HOTPLUG,
                                "usbduxfast_firmware.bin",
                                &udev->dev,
                                GFP_KERNEL,
                                usbduxfastsub + index,
-                               usbduxfast_firmware_request_complete_handler);
+                               usbduxfast_firmware_req_complete_handler);
 
 
        if (ret) {
-- 
1.7.1.1

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel

Reply via email to