ath9k_hw: clean up AR9003 EEPROM code
commit0aefc591be776661ce672c4a9f73f587b4280837
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jul 2012 17:53:38 +0000 (15 19:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:36 +0000 (17 15:11 -0400)
treef4e01d27375bf02440aff121aeda8253ef85f1f4
parent89be49e1cd91aba694065cd2ab1463338830c3a4
ath9k_hw: clean up AR9003 EEPROM code

- add an inline function for getting the correct modal EEPROM struct
- remove unnecessary indirection through ath9k_hw_ar9300_get_eeprom
  access the relevant fields directly

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