rtl8180: add parentheses to REG_ADDR macros
authorAndrea Merello <andrea.merello@gmail.com>
Fri, 4 Apr 2014 16:24:36 +0000 (18:24 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 19:06:27 +0000 (15:06 -0400)
commit6bcb20c7768ceca2138a6d9642d532f357e0b6c5
tree47a2be0f96238b149703311c3aa852d191e4b553
parent1c3fb9b8f80b4e5c7d4e1907f91f4459752929e9
rtl8180: add parentheses to REG_ADDR macros

Parentheses are missing around the macro argument, causing the
macro possibly not to work passing certain expressions as
arguments.

This should not cause any issues with current code, however it's
worth to add them, as a good practice, and to eventually avoid
future bugs.

Suggested-by: Dave Kilroy <kilroyd@googlemail.com>
Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtl818x/rtl818x.h