ath5k: remove __dev* attributes
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 3 Dec 2012 14:56:28 +0000 (09:56 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 6 Dec 2012 20:04:56 +0000 (15:04 -0500)
CONFIG_HOTPLUG is going away as an option.  As result the __dev*
markings will be going away.

Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst,
and __devexit.

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Cc: Jiri Slaby <jirislaby@gmail.com>
Cc: Nick Kossifidis <mickflemm@gmail.com>
Cc: Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
Cc: linux-wireless@vger.kernel.org
Cc: ath5k-devel@lists.ath5k.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/led.c
drivers/net/wireless/ath/ath5k/pci.c

index 2fd5bab2e22a06a1fd3e574545961e5c09f41cc9..3a5a61e03922aef03766928e472c4c3d78054f0a 100644 (file)
@@ -2435,7 +2435,7 @@ static const struct ieee80211_iface_combination if_comb = {
        .num_different_channels = 1,
 };
 
-int __devinit
+int
 ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops)
 {
        struct ieee80211_hw *hw = ah->hw;
@@ -2861,7 +2861,7 @@ static void ath5k_reset_work(struct work_struct *work)
        mutex_unlock(&ah->lock);
 }
 
-static int __devinit
+static int
 ath5k_init(struct ieee80211_hw *hw)
 {
 
index b9f708a45f4ed97bb65a47a7f11dcf0da2b09872..f77ef36acf87fba68a70d74b0a05cfae367fd442 100644 (file)
@@ -158,7 +158,7 @@ void ath5k_unregister_leds(struct ath5k_hw *ah)
        ath5k_unregister_led(&ah->tx_led);
 }
 
-int __devinit ath5k_init_leds(struct ath5k_hw *ah)
+int ath5k_init_leds(struct ath5k_hw *ah)
 {
        int ret = 0;
        struct ieee80211_hw *hw = ah->hw;
index dff48fbc63bfd1d7a4cc5aed6c2632c6128c77e9..859db7c34f87f07fdce6b19b1e2ce20b4061f208 100644 (file)
@@ -155,7 +155,7 @@ static const struct ath_bus_ops ath_pci_bus_ops = {
 * PCI Initialization *
 \********************/
 
-static int __devinit
+static int
 ath5k_pci_probe(struct pci_dev *pdev,
                const struct pci_device_id *id)
 {
@@ -285,7 +285,7 @@ err:
        return ret;
 }
 
-static void __devexit
+static void
 ath5k_pci_remove(struct pci_dev *pdev)
 {
        struct ieee80211_hw *hw = pci_get_drvdata(pdev);
@@ -336,7 +336,7 @@ static struct pci_driver ath5k_pci_driver = {
        .name           = KBUILD_MODNAME,
        .id_table       = ath5k_pci_id_table,
        .probe          = ath5k_pci_probe,
-       .remove         = __devexit_p(ath5k_pci_remove),
+       .remove         = ath5k_pci_remove,
        .driver.pm      = ATH5K_PM_OPS,
 };