aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 17:38:57 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 15:43:30 -0400
commit37c3e8b9d7f2d689b0aca89a8ac4aa12476df633 (patch)
treed71eeba1ca305791969562da2be49bf20cbb959b
parentaf6757e95efca3d5965a7d3d087190bef99ac45f (diff)
ath9k_hw: rename the PA calib routines to match their families
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r--drivers/net/wireless/ath/ath9k/calib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/calib.c b/drivers/net/wireless/ath/ath9k/calib.c
index b44b3056c2fe..4018074632c8 100644
--- a/drivers/net/wireless/ath/ath9k/calib.c
+++ b/drivers/net/wireless/ath/ath9k/calib.c
@@ -730,7 +730,7 @@ static void ar9280_hw_olc_temp_compensation(struct ath_hw *ah)
730 } 730 }
731} 731}
732 732
733static void ath9k_hw_9271_pa_cal(struct ath_hw *ah, bool is_reset) 733static void ar9271_hw_pa_cal(struct ath_hw *ah, bool is_reset)
734{ 734{
735 u32 regVal; 735 u32 regVal;
736 unsigned int i; 736 unsigned int i;
@@ -831,7 +831,7 @@ static void ath9k_hw_9271_pa_cal(struct ath_hw *ah, bool is_reset)
831 REG_WRITE(ah, regList[i][0], regList[i][1]); 831 REG_WRITE(ah, regList[i][0], regList[i][1]);
832} 832}
833 833
834static inline void ath9k_hw_9285_pa_cal(struct ath_hw *ah, bool is_reset) 834static inline void ar9285_hw_pa_cal(struct ath_hw *ah, bool is_reset)
835{ 835{
836 struct ath_common *common = ath9k_hw_common(ah); 836 struct ath_common *common = ath9k_hw_common(ah);
837 u32 regVal; 837 u32 regVal;
@@ -948,12 +948,12 @@ static void ar9002_hw_pa_cal(struct ath_hw *ah, bool is_reset)
948{ 948{
949 if (AR_SREV_9271(ah)) { 949 if (AR_SREV_9271(ah)) {
950 if (is_reset || !ah->pacal_info.skipcount) 950 if (is_reset || !ah->pacal_info.skipcount)
951 ath9k_hw_9271_pa_cal(ah, is_reset); 951 ar9271_hw_pa_cal(ah, is_reset);
952 else 952 else
953 ah->pacal_info.skipcount--; 953 ah->pacal_info.skipcount--;
954 } else if (AR_SREV_9285_11_OR_LATER(ah)) { 954 } else if (AR_SREV_9285_11_OR_LATER(ah)) {
955 if (is_reset || !ah->pacal_info.skipcount) 955 if (is_reset || !ah->pacal_info.skipcount)
956 ath9k_hw_9285_pa_cal(ah, is_reset); 956 ar9285_hw_pa_cal(ah, is_reset);
957 else 957 else
958 ah->pacal_info.skipcount--; 958 ah->pacal_info.skipcount--;
959 } 959 }