Browse Source

Staging: silicom: checkpatch: cleanup macros

Fix msec_delay_bp macro formatting

Signed-off-by: Daniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Daniel Cotey 12 years ago
parent
commit
e3845b34e8
1 changed files with 11 additions and 10 deletions
  1. 11 10
      drivers/staging/silicom/bp_mod.h

+ 11 - 10
drivers/staging/silicom/bp_mod.h

@@ -19,16 +19,17 @@
 
 #define usec_delay(x) udelay(x)
 #ifndef msec_delay_bp
-#define msec_delay_bp(x)	do { \
-            int  i; \
-            if(1) { \
-                   for(i = 0; i < 1000; i++) \
-                   {                     \
-                      udelay(x) ;        \
-                   }                     \
-			} else { \
-				msleep(x); \
-			} } while(0)
+#define msec_delay_bp(x)			\
+do {						\
+	int  i;					\
+	if (1) {				\
+		for (i = 0; i < 1000; i++) {	\
+			udelay(x) ;		\
+		}				\
+	} else {				\
+		msleep(x);			\
+	}					\
+} while (0)
 
 #endif