ath9k_hw: replace REG_READ+REG_WRITE with REG_RMW
commitca7a4deb4a1a87dbdc6e7cab0d1022a535204226
authorFelix Fietkau <nbd@openwrt.org>
Wed, 23 Mar 2011 19:57:26 +0000 (23 20:57 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Mar 2011 18:15:19 +0000 (30 14:15 -0400)
treeb647da486f56f56cf1b2d4eefac79c473472267b
parent845e03c93dda2c00ffb5c68a1f7c8efc412d7c1a
ath9k_hw: replace REG_READ+REG_WRITE with REG_RMW

It's easier to read and it slightly decreases code size

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