diff options
author | Joe Perches <joe@perches.com> | 2013-03-18 20:55:40 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-03-25 11:16:17 -0700 |
commit | bda2a44e2a015535f08aecd5c98e263098db9e75 (patch) | |
tree | 91d4d579caa514fd2296750e1003e54f9eb75d31 /drivers/staging/vt6655/baseband.h | |
parent | a7307538805f8a30c25b6f5b9566ab21d8ab7515 (diff) | |
download | linux-stable-bda2a44e2a015535f08aecd5c98e263098db9e75.tar.gz linux-stable-bda2a44e2a015535f08aecd5c98e263098db9e75.tar.bz2 linux-stable-bda2a44e2a015535f08aecd5c98e263098db9e75.zip |
staging: vt6655: Fix macro definitions
Macros should be able to be used in if/else
without braces.
Convert macros to use do {} while (0) instead
of bare braces where appropriate.
Convert macros to use single line macro definitions
where appropriate.
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vt6655/baseband.h')
-rw-r--r-- | drivers/staging/vt6655/baseband.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/staging/vt6655/baseband.h b/drivers/staging/vt6655/baseband.h index c9e947d63f92..96f257b02952 100644 --- a/drivers/staging/vt6655/baseband.h +++ b/drivers/staging/vt6655/baseband.h @@ -72,14 +72,10 @@ /*--------------------- Export Macros ------------------------------*/ #define BBvClearFOE(dwIoBase) \ - { \ - BBbWriteEmbedded(dwIoBase, 0xB1, 0); \ - } + BBbWriteEmbedded(dwIoBase, 0xB1, 0) #define BBvSetFOE(dwIoBase) \ - { \ - BBbWriteEmbedded(dwIoBase, 0xB1, 0x0C); \ - } + BBbWriteEmbedded(dwIoBase, 0xB1, 0x0C) /*--------------------- Export Classes ----------------------------*/ |