rtlwifi: Convert RTPRINT macro to use ##__VA_ARGS__
authorJoe Perches <joe@perches.com>
Thu, 5 Jan 2012 03:40:42 +0000 (19:40 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 24 Jan 2012 19:07:40 +0000 (14:07 -0500)
commit4c48869f5d6e4ee4a773fd67a01e1b934faa57f8
tree878d8c265368820db9dd2e24ec834f213ce31063
parentf30d7507a8116e2099a9135c873411db8c0a3dc6
rtlwifi: Convert RTPRINT macro to use ##__VA_ARGS__

Consolidate printks to avoid possible message interleaving
and reduce the object size.

Remove unnecessary RTPRINT parentheses.
Coalesce formats.
Align arguments.

$ size drivers/net/wireless/rtlwifi/built-in.o*
   text    data     bss     dec     hex filename
 590002   55333  127560  772895   bcb1f drivers/net/wireless/rtlwifi/built-in.o.new
 594841   55333  129680  779854   be64e drivers/net/wireless/rtlwifi/built-in.o.old

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rtlwifi/debug.h
drivers/net/wireless/rtlwifi/efuse.c
drivers/net/wireless/rtlwifi/rtl8192ce/hw.c
drivers/net/wireless/rtlwifi/rtl8192ce/rf.c
drivers/net/wireless/rtlwifi/rtl8192cu/hw.c
drivers/net/wireless/rtlwifi/rtl8192cu/rf.c
drivers/net/wireless/rtlwifi/rtl8192de/phy.c
drivers/net/wireless/rtlwifi/rtl8192de/rf.c
drivers/net/wireless/rtlwifi/rtl8192se/hw.c