]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: clean up AR9003 EEPROM code
authorFelix Fietkau <nbd@openwrt.org>
Sun, 15 Jul 2012 17:53:38 +0000 (19:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 17 Jul 2012 19:11:36 +0000 (15:11 -0400)
commit4736c3708ef99f2a749d4232f0442f5a127f5127
treef4e01d27375bf02440aff121aeda8253ef85f1f4
parente0b6e7a501b74fe2bf063c606513d246ea871b93
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