Commit e3845b34 authored by Daniel Cotey's avatar Daniel Cotey Committed by Greg Kroah-Hartman

Staging: silicom: checkpatch: cleanup macros

Fix msec_delay_bp macro formatting
Signed-off-by: default avatarDaniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b67cd424
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment