Staging: comedi: fix line over 80 character issue in usbduxfast.c
authorRavishankar Karkala Mallikarjunayya <ravishankarkm32@gmail.com>
Tue, 1 May 2012 06:25:06 +0000 (11:55 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 2 May 2012 04:54:07 +0000 (21:54 -0700)
This is a patch to the usbduxfast.c file that fixes up a line
over 80 character warning found by the checkpatch.pl tool.

Signed-off-by: Ravishankar Karkala Mallikarjunayya <ravishankar.km@greenturtles.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/usbduxfast.c

index 2b4d25128995a3a8fc72e2f46634c933fb12ae26..c672ea3784a61856e5a5f9a3b58ab1f01598f858 100644 (file)
@@ -455,14 +455,15 @@ static int usbduxfastsub_start(struct usbduxfastsub_s *udfs)
        /* 7f92 to zero */
        local_transfer_buffer[0] = 0;
        /* bRequest, "Firmware" */
-       ret = usb_control_msg(udfs->usbdev, usb_sndctrlpipe(udfs->usbdev, 0), USBDUXFASTSUB_FIRMWARE,
-                               VENDOR_DIR_OUT, /* bmRequestType */
-                               USBDUXFASTSUB_CPUCS,    /* Value */
-                               0x0000, /* Index */
-                               /* address of the transfer buffer */
-                               local_transfer_buffer,
-                               1,      /* Length */
-                               EZTIMEOUT);     /* Timeout */
+       ret = usb_control_msg(udfs->usbdev, usb_sndctrlpipe(udfs->usbdev, 0),
+                             USBDUXFASTSUB_FIRMWARE,
+                             VENDOR_DIR_OUT,     /* bmRequestType */
+                             USBDUXFASTSUB_CPUCS,    /* Value */
+                             0x0000,   /* Index */
+                             /* address of the transfer buffer */
+                             local_transfer_buffer,
+                             1,      /* Length */
+                             EZTIMEOUT);    /* Timeout */
        if (ret < 0) {
                printk("comedi_: usbduxfast_: control msg failed (start)\n");
                return ret;
@@ -479,7 +480,8 @@ static int usbduxfastsub_stop(struct usbduxfastsub_s *udfs)
        /* 7f92 to one */
        local_transfer_buffer[0] = 1;
        /* bRequest, "Firmware" */
-       ret = usb_control_msg(udfs->usbdev, usb_sndctrlpipe(udfs->usbdev, 0), USBDUXFASTSUB_FIRMWARE,
+       ret = usb_control_msg(udfs->usbdev, usb_sndctrlpipe(udfs->usbdev, 0),
+                             USBDUXFASTSUB_FIRMWARE,
                              VENDOR_DIR_OUT,   /* bmRequestType */
                              USBDUXFASTSUB_CPUCS,      /* Value */
                              0x0000,   /* Index */
@@ -506,14 +508,15 @@ static int usbduxfastsub_upload(struct usbduxfastsub_s *udfs,
               startAddr, local_transfer_buffer[0]);
 #endif
        /* brequest, firmware */
-       ret = usb_control_msg(udfs->usbdev, usb_sndctrlpipe(udfs->usbdev, 0), USBDUXFASTSUB_FIRMWARE,
-                               VENDOR_DIR_OUT, /* bmRequestType */
-                               startAddr,      /* value */
-                               0x0000, /* index */
-                               /* our local safe buffer */
-                               local_transfer_buffer,
-                               len,    /* length */
-                               EZTIMEOUT);     /* timeout */
+       ret = usb_control_msg(udfs->usbdev, usb_sndctrlpipe(udfs->usbdev, 0),
+                             USBDUXFASTSUB_FIRMWARE,
+                             VENDOR_DIR_OUT,   /* bmRequestType */
+                             startAddr,        /* value */
+                             0x0000,    /* index */
+                             /* our local safe buffer */
+                             local_transfer_buffer,
+                             len,      /* length */
+                             EZTIMEOUT);      /* timeout */
 
 #ifdef CONFIG_COMEDI_DEBUG
        printk(KERN_DEBUG "comedi_: usbduxfast: result=%d\n", ret);