commit | ea6f792b2b893249e0eeffdb3fe0ea191eaf80d7 | [log] [tgz] |
---|---|---|
author | Gabor Juhos <juhosg@openwrt.org> | Sat Apr 14 22:01:58 2012 +0200 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Apr 16 14:38:53 2012 -0400 |
tree | 1e306360812654cd4988b09ea01ab8eb53c8cf37 | |
parent | 21bd6ea3116998e429dad796bce785e18df39daa [diff] |
ath9k: introduce ath9k_hw_get_scaled_power helper The computation of the scaled power value in various eeprom files uses identical code. Move that code into a helper function and use that instead of code duplication. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>