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

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: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent e829cf96
...@@ -45,11 +45,11 @@ static struct pci_driver atmel_driver = { ...@@ -45,11 +45,11 @@ static struct pci_driver atmel_driver = {
.name = "atmel", .name = "atmel",
.id_table = card_ids, .id_table = card_ids,
.probe = atmel_pci_probe, .probe = atmel_pci_probe,
.remove = __devexit_p(atmel_pci_remove), .remove = atmel_pci_remove,
}; };
static int __devinit atmel_pci_probe(struct pci_dev *pdev, static int atmel_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *pent) const struct pci_device_id *pent)
{ {
struct net_device *dev; struct net_device *dev;
...@@ -69,7 +69,7 @@ static int __devinit atmel_pci_probe(struct pci_dev *pdev, ...@@ -69,7 +69,7 @@ static int __devinit atmel_pci_probe(struct pci_dev *pdev,
return 0; return 0;
} }
static void __devexit atmel_pci_remove(struct pci_dev *pdev) static void atmel_pci_remove(struct pci_dev *pdev)
{ {
stop_atmel_card(pci_get_drvdata(pdev)); stop_atmel_card(pci_get_drvdata(pdev));
} }
......
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