Skip to content

Commit

Permalink
ath9k_hw: rename the PA calib routines to match their families
Browse files Browse the repository at this point in the history
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Luis R. Rodriguez authored and John W. Linville committed Apr 16, 2010
1 parent af6757e commit 37c3e8b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/net/wireless/ath/ath9k/calib.c
Original file line number Diff line number Diff line change
Expand Up @@ -730,7 +730,7 @@ static void ar9280_hw_olc_temp_compensation(struct ath_hw *ah)
}
}

static void ath9k_hw_9271_pa_cal(struct ath_hw *ah, bool is_reset)
static void ar9271_hw_pa_cal(struct ath_hw *ah, bool is_reset)
{
u32 regVal;
unsigned int i;
Expand Down Expand Up @@ -831,7 +831,7 @@ static void ath9k_hw_9271_pa_cal(struct ath_hw *ah, bool is_reset)
REG_WRITE(ah, regList[i][0], regList[i][1]);
}

static inline void ath9k_hw_9285_pa_cal(struct ath_hw *ah, bool is_reset)
static inline void ar9285_hw_pa_cal(struct ath_hw *ah, bool is_reset)
{
struct ath_common *common = ath9k_hw_common(ah);
u32 regVal;
Expand Down Expand Up @@ -948,12 +948,12 @@ static void ar9002_hw_pa_cal(struct ath_hw *ah, bool is_reset)
{
if (AR_SREV_9271(ah)) {
if (is_reset || !ah->pacal_info.skipcount)
ath9k_hw_9271_pa_cal(ah, is_reset);
ar9271_hw_pa_cal(ah, is_reset);
else
ah->pacal_info.skipcount--;
} else if (AR_SREV_9285_11_OR_LATER(ah)) {
if (is_reset || !ah->pacal_info.skipcount)
ath9k_hw_9285_pa_cal(ah, is_reset);
ar9285_hw_pa_cal(ah, is_reset);
else
ah->pacal_info.skipcount--;
}
Expand Down

0 comments on commit 37c3e8b

Please sign in to comment.