linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] usb: storage: onetouch: Fixed two space related coding style issues
@ 2016-01-22 17:55 Tapan Prakash T
  2016-01-25  4:32 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Tapan Prakash T @ 2016-01-22 17:55 UTC (permalink / raw)
  To: mdharm-usb; +Cc: linux-usb, linux-kernel, Tapan Prakash T

This patch fixes checkpatch.pl warning in file onetouch.c

Signed-off-by: Tapan Prakash T <tapanprakasht@gmail.com>
---
 drivers/usb/storage/onetouch.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c
index acc3d03..9097bd4 100644
--- a/drivers/usb/storage/onetouch.c
+++ b/drivers/usb/storage/onetouch.c
@@ -69,7 +69,7 @@ struct usb_onetouch {
 		    vendorName, productName, useProtocol, useTransport, \
 		    initFunction, flags) \
 { USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
-  .driver_info = (flags) }
+.driver_info = (flags) }
 
 static struct usb_device_id onetouch_usb_ids[] = {
 #	include "unusual_onetouch.h"
@@ -125,7 +125,7 @@ static void usb_onetouch_irq(struct urb *urb)
 	input_sync(dev);
 
 resubmit:
-	retval = usb_submit_urb (urb, GFP_ATOMIC);
+	retval = usb_submit_urb(urb, GFP_ATOMIC);
 	if (retval)
 		dev_err(&dev->dev, "can't resubmit intr, %s-%s/input0, "
 			"retval %d\n", onetouch->udev->bus->bus_name,
-- 
1.9.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] usb: storage: onetouch: Fixed two space related coding style issues
  2016-01-22 17:55 [PATCH] usb: storage: onetouch: Fixed two space related coding style issues Tapan Prakash T
@ 2016-01-25  4:32 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2016-01-25  4:32 UTC (permalink / raw)
  To: Tapan Prakash T; +Cc: mdharm-usb, linux-usb, linux-kernel

On Fri, Jan 22, 2016 at 11:25:21PM +0530, Tapan Prakash T wrote:
> This patch fixes checkpatch.pl warning in file onetouch.c
> 
> Signed-off-by: Tapan Prakash T <tapanprakasht@gmail.com>
> ---
>  drivers/usb/storage/onetouch.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/usb/storage/onetouch.c b/drivers/usb/storage/onetouch.c
> index acc3d03..9097bd4 100644
> --- a/drivers/usb/storage/onetouch.c
> +++ b/drivers/usb/storage/onetouch.c
> @@ -69,7 +69,7 @@ struct usb_onetouch {
>  		    vendorName, productName, useProtocol, useTransport, \
>  		    initFunction, flags) \
>  { USB_DEVICE_VER(id_vendor, id_product, bcdDeviceMin, bcdDeviceMax), \
> -  .driver_info = (flags) }
> +.driver_info = (flags) }

That's not a valid fix :(

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-25  4:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-22 17:55 [PATCH] usb: storage: onetouch: Fixed two space related coding style issues Tapan Prakash T
2016-01-25  4:32 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).