From: Gabor Juhos Date: Sat, 14 Apr 2012 20:01:58 +0000 (+0200) Subject: ath9k: introduce ath9k_hw_get_scaled_power helper X-Git-Tag: v3.5-rc1~109^2~410^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea6f792b2b893249e0eeffdb3fe0ea191eaf80d7;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed