]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Staging: silicom: checkpatch: cleanup macros
authorDaniel Cotey <puff65537@bansheeslibrary.com>
Wed, 12 Sep 2012 05:28:08 +0000 (22:28 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Sep 2012 21:31:52 +0000 (14:31 -0700)
Fix msec_delay_bp macro formatting

Signed-off-by: Daniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/silicom/bp_mod.h

index 9e488c0910b674f01efb2632ffff3fe04e23ecab..70a997190e49688e31ae9d003556947383d7d8be 100644 (file)
 
 #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