Commit e829cf96 authored by Bill Pemberton's avatar Bill Pemberton Committed by John W. Linville

ath5k: remove __dev* attributes

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: default avatarBill 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: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 04bfffb8
...@@ -2435,7 +2435,7 @@ static const struct ieee80211_iface_combination if_comb = { ...@@ -2435,7 +2435,7 @@ static const struct ieee80211_iface_combination if_comb = {
.num_different_channels = 1, .num_different_channels = 1,
}; };
int __devinit int
ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops) ath5k_init_ah(struct ath5k_hw *ah, const struct ath_bus_ops *bus_ops)
{ {
struct ieee80211_hw *hw = ah->hw; struct ieee80211_hw *hw = ah->hw;
...@@ -2861,7 +2861,7 @@ static void ath5k_reset_work(struct work_struct *work) ...@@ -2861,7 +2861,7 @@ static void ath5k_reset_work(struct work_struct *work)
mutex_unlock(&ah->lock); mutex_unlock(&ah->lock);
} }
static int __devinit static int
ath5k_init(struct ieee80211_hw *hw) ath5k_init(struct ieee80211_hw *hw)
{ {
......
...@@ -158,7 +158,7 @@ void ath5k_unregister_leds(struct ath5k_hw *ah) ...@@ -158,7 +158,7 @@ void ath5k_unregister_leds(struct ath5k_hw *ah)
ath5k_unregister_led(&ah->tx_led); 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; int ret = 0;
struct ieee80211_hw *hw = ah->hw; struct ieee80211_hw *hw = ah->hw;
......
...@@ -155,7 +155,7 @@ static const struct ath_bus_ops ath_pci_bus_ops = { ...@@ -155,7 +155,7 @@ static const struct ath_bus_ops ath_pci_bus_ops = {
* PCI Initialization * * PCI Initialization *
\********************/ \********************/
static int __devinit static int
ath5k_pci_probe(struct pci_dev *pdev, ath5k_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *id) const struct pci_device_id *id)
{ {
...@@ -285,7 +285,7 @@ ath5k_pci_probe(struct pci_dev *pdev, ...@@ -285,7 +285,7 @@ ath5k_pci_probe(struct pci_dev *pdev,
return ret; return ret;
} }
static void __devexit static void
ath5k_pci_remove(struct pci_dev *pdev) ath5k_pci_remove(struct pci_dev *pdev)
{ {
struct ieee80211_hw *hw = pci_get_drvdata(pdev); struct ieee80211_hw *hw = pci_get_drvdata(pdev);
...@@ -336,7 +336,7 @@ static struct pci_driver ath5k_pci_driver = { ...@@ -336,7 +336,7 @@ static struct pci_driver ath5k_pci_driver = {
.name = KBUILD_MODNAME, .name = KBUILD_MODNAME,
.id_table = ath5k_pci_id_table, .id_table = ath5k_pci_id_table,
.probe = ath5k_pci_probe, .probe = ath5k_pci_probe,
.remove = __devexit_p(ath5k_pci_remove), .remove = ath5k_pci_remove,
.driver.pm = ATH5K_PM_OPS, .driver.pm = ATH5K_PM_OPS,
}; };
......
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