Commit 081b35ab authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville

ath9k: rename ath9k_hw_rfdetach() to ath9k_hw_rf_free()

This makes it clear what this does.
Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6b827529
...@@ -1229,7 +1229,7 @@ void ath9k_hw_detach(struct ath_hw *ah) ...@@ -1229,7 +1229,7 @@ void ath9k_hw_detach(struct ath_hw *ah)
if (!AR_SREV_9100(ah)) if (!AR_SREV_9100(ah))
ath9k_hw_ani_detach(ah); ath9k_hw_ani_detach(ah);
ath9k_hw_rfdetach(ah); ath9k_hw_rf_free(ah);
ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP); ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP);
kfree(ah); kfree(ah);
} }
......
...@@ -545,7 +545,7 @@ struct ath_hw { ...@@ -545,7 +545,7 @@ struct ath_hw {
const char *ath9k_hw_probe(u16 vendorid, u16 devid); const char *ath9k_hw_probe(u16 vendorid, u16 devid);
void ath9k_hw_detach(struct ath_hw *ah); void ath9k_hw_detach(struct ath_hw *ah);
int ath9k_hw_init(struct ath_hw *ah); int ath9k_hw_init(struct ath_hw *ah);
void ath9k_hw_rfdetach(struct ath_hw *ah); void ath9k_hw_rf_free(struct ath_hw *ah);
int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
bool bChannelChange); bool bChannelChange);
void ath9k_hw_fill_cap_info(struct ath_hw *ah); void ath9k_hw_fill_cap_info(struct ath_hw *ah);
......
...@@ -264,7 +264,7 @@ ath9k_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan, ...@@ -264,7 +264,7 @@ ath9k_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan,
} }
void void
ath9k_hw_rfdetach(struct ath_hw *ah) ath9k_hw_rf_free(struct ath_hw *ah)
{ {
#define ATH_FREE_BANK(bank) do { \ #define ATH_FREE_BANK(bank) do { \
kfree(bank); \ kfree(bank); \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment