From: Daniel Cotey Date: Wed, 12 Sep 2012 05:28:08 +0000 (-0700) Subject: Staging: silicom: checkpatch: cleanup macros X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e3845b34e8bcda7a420af582f4a3f3986c35e709;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git Staging: silicom: checkpatch: cleanup macros Fix msec_delay_bp macro formatting Signed-off-by: Daniel Cotey Signed-off-by: Greg Kroah-Hartman --- 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