mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tapan Prakash T <tapanprakasht@gmail.com>
To: balbi@ti.com
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org,
	Tapan Prakash T <tapanprakasht@gmail.com>
Subject: [PATCH] Staging: usb: gadget: legacy: printer: Fixed some space style issues
Date: Sun, 17 Jan 2016 17:47:16 +0530	[thread overview]
Message-ID: <1453033036-13667-1-git-send-email-tapanprakasht@gmail.com> (raw)

Fixed space before '[' coding style issues.

Signed-off-by: Tapan Prakash T <tapanprakasht@gmail.com>
---
 drivers/usb/gadget/legacy/printer.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/usb/gadget/legacy/printer.c b/drivers/usb/gadget/legacy/printer.c
index a22d30a..8ae7bd6 100644
--- a/drivers/usb/gadget/legacy/printer.c
+++ b/drivers/usb/gadget/legacy/printer.c
@@ -24,8 +24,8 @@ USB_GADGET_COMPOSITE_OPTIONS();
 #define DRIVER_DESC		"Printer Gadget"
 #define DRIVER_VERSION		"2015 FEB 17"
 
-static const char shortname [] = "printer";
-static const char driver_desc [] = DRIVER_DESC;
+static const char shortname[] = "printer";
+static const char driver_desc[] = DRIVER_DESC;
 
 #include "u_printer.h"
 
@@ -86,13 +86,13 @@ static const struct usb_descriptor_header *otg_desc[2];
 
 /* descriptors that are built on-demand */
 
-static char				product_desc [40] = DRIVER_DESC;
-static char				serial_num [40] = "1";
+static char				product_desc[40] = DRIVER_DESC;
+static char				serial_num[40] = "1";
 static char				pnp_string[PNP_STRING_LEN] =
 	"XXMFG:linux;MDL:g_printer;CLS:PRINTER;SN:1;";
 
 /* static strings, in UTF-8 */
-static struct usb_string		strings [] = {
+static struct usb_string		strings[] = {
 	[USB_GADGET_MANUFACTURER_IDX].s = "",
 	[USB_GADGET_PRODUCT_IDX].s = product_desc,
 	[USB_GADGET_SERIAL_IDX].s =	serial_num,
-- 
1.9.1

             reply	other threads:[~2016-01-17 12:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-17 12:17 Tapan Prakash T [this message]
2016-01-18 11:05 ` Sergei Shtylyov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1453033036-13667-1-git-send-email-tapanprakasht@gmail.com \
    --to=tapanprakasht@gmail.com \
    --cc=balbi@ti.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®