usb: ftdi-elan: Fix format fragments
authorJoe Perches <joe@perches.com>
Fri, 4 Apr 2014 22:16:03 +0000 (15:16 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 Apr 2014 20:13:59 +0000 (13:13 -0700)
Breaking formats into fragments with a split
between % and field types should be coalesced.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/misc/ftdi-elan.c

index a4a3c7cd4a11c751b0be3d71d9040ea5ae22ea0f..314e5974c7236cee0fcb8e27e64a23712416d74b 100644 (file)
@@ -729,8 +729,8 @@ static void ftdi_elan_write_bulk_callback(struct urb *urb)
 
        if (status && !(status == -ENOENT || status == -ECONNRESET ||
            status == -ESHUTDOWN)) {
-                dev_err(&ftdi->udev->dev, "urb=%p write bulk status received: %"
-                        "d\n", urb, status);
+               dev_err(&ftdi->udev->dev,
+                       "urb=%p write bulk status received: %d\n", urb, status);
         }
         usb_free_coherent(urb->dev, urb->transfer_buffer_length,
                 urb->transfer_buffer, urb->transfer_dma);
@@ -1181,8 +1181,8 @@ static ssize_t ftdi_elan_write(struct file *file,
         urb->transfer_flags |= URB_NO_TRANSFER_DMA_MAP;
         retval = usb_submit_urb(urb, GFP_KERNEL);
         if (retval) {
-                dev_err(&ftdi->udev->dev, "failed submitting write urb, error %"
-                        "d\n", retval);
+               dev_err(&ftdi->udev->dev,
+                       "failed submitting write urb, error %d\n", retval);
                 goto error_3;
         }
         usb_free_urb(urb);