diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:56:29 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-12-06 15:04:56 -0500 |
commit | 991683ca49908a78ff00942d6832523657e578b7 (patch) | |
tree | eb4a20a0d4696be2df4c38811f50270017ba1bae | |
parent | e829cf961bfd3c2c5ef0a2c5a51734c1628ce77e (diff) |
atmel: 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: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/atmel_pci.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/atmel_pci.c b/drivers/net/wireless/atmel_pci.c index 51e33b53386e..c1b159ebcffe 100644 --- a/drivers/net/wireless/atmel_pci.c +++ b/drivers/net/wireless/atmel_pci.c | |||
@@ -45,11 +45,11 @@ static struct pci_driver atmel_driver = { | |||
45 | .name = "atmel", | 45 | .name = "atmel", |
46 | .id_table = card_ids, | 46 | .id_table = card_ids, |
47 | .probe = atmel_pci_probe, | 47 | .probe = atmel_pci_probe, |
48 | .remove = __devexit_p(atmel_pci_remove), | 48 | .remove = atmel_pci_remove, |
49 | }; | 49 | }; |
50 | 50 | ||
51 | 51 | ||
52 | static int __devinit atmel_pci_probe(struct pci_dev *pdev, | 52 | static int atmel_pci_probe(struct pci_dev *pdev, |
53 | const struct pci_device_id *pent) | 53 | const struct pci_device_id *pent) |
54 | { | 54 | { |
55 | struct net_device *dev; | 55 | struct net_device *dev; |
@@ -69,7 +69,7 @@ static int __devinit atmel_pci_probe(struct pci_dev *pdev, | |||
69 | return 0; | 69 | return 0; |
70 | } | 70 | } |
71 | 71 | ||
72 | static void __devexit atmel_pci_remove(struct pci_dev *pdev) | 72 | static void atmel_pci_remove(struct pci_dev *pdev) |
73 | { | 73 | { |
74 | stop_atmel_card(pci_get_drvdata(pdev)); | 74 | stop_atmel_card(pci_get_drvdata(pdev)); |
75 | } | 75 | } |