ath9k: introduce ath9k_hw_get_scaled_power helper
authorGabor Juhos <juhosg@openwrt.org>
Sat, 14 Apr 2012 20:01:58 +0000 (22:01 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 16 Apr 2012 18:38:53 +0000 (14:38 -0400)
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>

No differences found