]> nv-tegra.nvidia Code Review - linux-2.6.git/commitdiff
ath9k: rename ath9k_hw_rfdetach() to ath9k_hw_rf_free()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 3 Aug 2009 19:24:50 +0000 (12:24 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 4 Aug 2009 20:44:31 +0000 (16:44 -0400)
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>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/phy.c

index 65d2e7d059aedfe8ec13cf940c559f255e5bf146..73dee19e887088d34a274f015bdca7fb656c8dc0 100644 (file)
@@ -1229,7 +1229,7 @@ void ath9k_hw_detach(struct ath_hw *ah)
        if (!AR_SREV_9100(ah))
                ath9k_hw_ani_detach(ah);
 
        if (!AR_SREV_9100(ah))
                ath9k_hw_ani_detach(ah);
 
-       ath9k_hw_rfdetach(ah);
+       ath9k_hw_rf_free(ah);
        ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP);
        kfree(ah);
 }
        ath9k_hw_setpower(ah, ATH9K_PM_FULL_SLEEP);
        kfree(ah);
 }
index 4c78e8cd0397b3fdf593b7c308ef582e2c61a724..4e717cc68cd244257c4c19d7551b923972c530a7 100644 (file)
@@ -545,7 +545,7 @@ struct ath_hw {
 const char *ath9k_hw_probe(u16 vendorid, u16 devid);
 void ath9k_hw_detach(struct ath_hw *ah);
 int ath9k_hw_init(struct ath_hw *ah);
 const char *ath9k_hw_probe(u16 vendorid, u16 devid);
 void ath9k_hw_detach(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,
                   bool bChannelChange);
 void ath9k_hw_fill_cap_info(struct ath_hw *ah);
 int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
                   bool bChannelChange);
 void ath9k_hw_fill_cap_info(struct ath_hw *ah);
index 98b1b56d87c47c9b4350280aac76717c5aba2560..59bb3ce1e646acc0c70ae5ea0912c10ae4edc818 100644 (file)
@@ -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 { \
                kfree(bank); \
 {
 #define ATH_FREE_BANK(bank) do { \
                kfree(bank); \