[PATCHv2 1/3] Staging: silicom: checkpatch: cleanup macros

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Fix msec_delay_bp macro formatting

Signed-off-by: Daniel Cotey <puff65537@xxxxxxxxxxxxxxxxxxx>
---
 drivers/staging/silicom/bp_mod.h | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/drivers/staging/silicom/bp_mod.h b/drivers/staging/silicom/bp_mod.h
index 9e488c0..70a9971 100644
--- a/drivers/staging/silicom/bp_mod.h
+++ b/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
 
-- 
1.7.11.4


----- End forwarded message -----
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux