From e3845b34e8bcda7a420af582f4a3f3986c35e709 Mon Sep 17 00:00:00 2001 From: Daniel Cotey Date: Tue, 11 Sep 2012 22:28:08 -0700 Subject: [PATCH] Staging: silicom: checkpatch: cleanup macros Fix msec_delay_bp macro formatting Signed-off-by: Daniel Cotey Signed-off-by: Greg Kroah-Hartman --- 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 9e488c0910b6..70a997190e49 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