[PATCH 2/2] Drivers: staging: dgap: checkpatch.pl cleanups

Aldo Iljazi mail at aldo.io
Sun Dec 1 15:43:09 UTC 2013


A few checkpatch cleanups, particularly:

Lines 26, 60: Removed trailing whitespace.
Lines 36-38, 42-44, 47: Removed spaces at the start of the lines.

Signed-off-by: Aldo Iljazi <mail at aldo.io>
---
 drivers/staging/dgap/dgap_downld.h |   22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/drivers/staging/dgap/dgap_downld.h b/drivers/staging/dgap/dgap_downld.h
index 271ac19..b471284 100644
--- a/drivers/staging/dgap/dgap_downld.h
+++ b/drivers/staging/dgap/dgap_downld.h
@@ -23,7 +23,7 @@
  */
 
 /*
-** downld.h 
+** downld.h
 **  - describes the interface between the user level download process
 **    and the concentrator download driver.
 */
@@ -33,18 +33,18 @@
 
 
 struct fepimg {
-    int type;				/* board type */
-    int	len;				/* length of image */
-    char fepimage[1];			/* beginning of image */
+	int type;				/* board type */
+	int	len;				/* length of image */
+	char fepimage[1];			/* beginning of image */
 };
 
 struct downldio {
-    unsigned int req_type;		/* FEP or concentrator */
-    unsigned int bdid;			/* opaque board identifier */
-    union {
-	struct downld_t dl;		/* download structure */
-	struct fepimg   fi;		/* fep/bios image structure */
-    } image;
+	unsigned int req_type;		/* FEP or concentrator */
+	unsigned int bdid;			/* opaque board identifier */
+	union {
+		struct downld_t dl;		/* download structure */
+		struct fepimg   fi;		/* fep/bios image structure */
+	} image;
 };
 
 #define DIGI_DLREQ_GET	(('d'<<8) | 220)
@@ -57,7 +57,7 @@ struct downldio {
 #define DIGI_NUKE_RESET_ALL	 (1 << 31)
 #define DIGI_NUKE_INHIBIT_POLLER (1 << 30)
 #define DIGI_NUKE_BRD_NUMB        0x0f
-	
+
 
 
 #define	DLREQ_BIOS	0
-- 
1.7.9.5



More information about the devel mailing list