diff options
author | Joe Perches | 2013-03-19 04:55:40 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-03-25 19:16:17 +0100 |
commit | bda2a44e2a015535f08aecd5c98e263098db9e75 (patch) | |
tree | 91d4d579caa514fd2296750e1003e54f9eb75d31 /drivers/staging/vt6655/baseband.h | |
parent | staging: vt6655: Remove commented out if()s (diff) | |
download | kernel-qcow2-linux-bda2a44e2a015535f08aecd5c98e263098db9e75.tar.gz kernel-qcow2-linux-bda2a44e2a015535f08aecd5c98e263098db9e75.tar.xz kernel-qcow2-linux-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 ----------------------------*/ |