diff options
author | Daniel Cotey <puff65537@bansheeslibrary.com> | 2012-09-12 05:28:08 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-11 21:31:52 (GMT) |
commit | e3845b34e8bcda7a420af582f4a3f3986c35e709 (patch) | |
tree | f1ef1c7ad1eaee041f95553b046a66e92f115f01 /drivers/staging/silicom | |
parent | b67cd424600dd42527a3eeb21a148a10683d2491 (diff) | |
download | linux-e3845b34e8bcda7a420af582f4a3f3986c35e709.tar.xz |
Staging: silicom: checkpatch: cleanup macros
Fix msec_delay_bp macro formatting
Signed-off-by: Daniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/silicom')
-rw-r--r-- | drivers/staging/silicom/bp_mod.h | 21 |
1 files 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 |