]> git.baikalelectronics.ru Git - kernel.git/commit
staging: vt6655: Fix macro definitions
authorJoe Perches <joe@perches.com>
Tue, 19 Mar 2013 03:55:40 +0000 (20:55 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Mar 2013 18:16:17 +0000 (11:16 -0700)
commitb76d4cf2dc0b91551576a9699f94c77fd76f832b
tree91d4d579caa514fd2296750e1003e54f9eb75d31
parent2a6de1efc4b7e977665ef2e5c05548492eadc726
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>
drivers/staging/vt6655/baseband.h
drivers/staging/vt6655/device_cfg.h
drivers/staging/vt6655/mac.h
drivers/staging/vt6655/upc.h
drivers/staging/vt6655/wctl.h