ath9k_hw: turn a few big macros into functions
authorFelix Fietkau <nbd@openwrt.org>
Wed, 23 Mar 2011 19:57:27 +0000 (20:57 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:19 +0000 (14:15 -0400)
commita9b6b2569cf107fe541381e82faa0a3c47a9a7fd
treeddd70da664996e96c554682e2348f60598a41c12
parentca7a4deb4a1a87dbdc6e7cab0d1022a535204226
ath9k_hw: turn a few big macros into functions

RF_BANK_SETUP, REG_WRITE_RF_ARRAY and REG_WRITE_ARRAY are way too big,
so they shouldn't be inlined at every single callsite, especially since they
can easily be turned into real functions.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar5008_phy.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/phy.h