aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-08-03 15:24:50 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-04 16:44:31 -0400
commit081b35ab2e98a2f76d0378219e91cd1c90aed55f (patch)
tree016c2862393876934bf1e122c519d41b24c92390 /drivers/net
parent6b827529058d6d479f31b281a9ec630f7b6841e1 (diff)
ath9k: rename ath9k_hw_rfdetach() to ath9k_hw_rf_free()
This makes it clear what this does. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.c2
-rw-r--r--drivers/net/wireless/ath/ath9k/hw.h2
-rw-r--r--drivers/net/wireless/ath/ath9k/phy.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
index 65d2e7d059ae..73dee19e8870 100644
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -1229,7 +1229,7 @@ void ath9k_hw_detach(struct ath_hw *ah)
1229 if (!AR_SREV_9100(ah)) 1229 if (!AR_SREV_9100(ah))
1230 ath9k_hw_ani_detach(ah); 1230 ath9k_hw_ani_detach(ah);
1231 1231
1232 ath9k_hw_rfdetach(ah); 1232 ath9k_hw_rf_free(ah);
1233 ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP); 1233 ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP);
1234 kfree(ah); 1234 kfree(ah);
1235} 1235}
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
index 4c78e8cd0397..4e717cc68cd2 100644
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
@@ -545,7 +545,7 @@ struct ath_hw {
545const char *ath9k_hw_probe(u16 vendorid, u16 devid); 545const char *ath9k_hw_probe(u16 vendorid, u16 devid);
546void ath9k_hw_detach(struct ath_hw *ah); 546void ath9k_hw_detach(struct ath_hw *ah);
547int ath9k_hw_init(struct ath_hw *ah); 547int ath9k_hw_init(struct ath_hw *ah);
548void ath9k_hw_rfdetach(struct ath_hw *ah); 548void ath9k_hw_rf_free(struct ath_hw *ah);
549int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan, 549int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
550 bool bChannelChange); 550 bool bChannelChange);
551void ath9k_hw_fill_cap_info(struct ath_hw *ah); 551void ath9k_hw_fill_cap_info(struct ath_hw *ah);
diff --git a/drivers/net/wireless/ath/ath9k/phy.c b/drivers/net/wireless/ath/ath9k/phy.c
index 98b1b56d87c4..59bb3ce1e646 100644
--- a/drivers/net/wireless/ath/ath9k/phy.c
+++ b/drivers/net/wireless/ath/ath9k/phy.c
@@ -264,7 +264,7 @@ ath9k_hw_set_rf_regs(struct ath_hw *ah, struct ath9k_channel *chan,
264} 264}
265 265
266void 266void
267ath9k_hw_rfdetach(struct ath_hw *ah) 267ath9k_hw_rf_free(struct ath_hw *ah)
268{ 268{
269#define ATH_FREE_BANK(bank) do { \ 269#define ATH_FREE_BANK(bank) do { \
270 kfree(bank); \ 270 kfree(bank); \