ARCNET: 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>
This commit is contained in:
Bill Pemberton 2012-12-03 09:22:43 -05:00 коммит произвёл Greg Kroah-Hartman
Родитель 60e476d021
Коммит 7c47bab621
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -61,7 +61,7 @@ module_param(clockp, int, 0);
module_param(clockm, int, 0); module_param(clockm, int, 0);
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
static int __devinit com20020pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) static int com20020pci_probe(struct pci_dev *pdev, const struct pci_device_id *id)
{ {
struct net_device *dev; struct net_device *dev;
struct arcnet_local *lp; struct arcnet_local *lp;
@ -135,7 +135,7 @@ out_dev:
return err; return err;
} }
static void __devexit com20020pci_remove(struct pci_dev *pdev) static void com20020pci_remove(struct pci_dev *pdev)
{ {
struct net_device *dev = pci_get_drvdata(pdev); struct net_device *dev = pci_get_drvdata(pdev);
unregister_netdev(dev); unregister_netdev(dev);
@ -178,7 +178,7 @@ static struct pci_driver com20020pci_driver = {
.name = "com20020", .name = "com20020",
.id_table = com20020pci_id_table, .id_table = com20020pci_id_table,
.probe = com20020pci_probe, .probe = com20020pci_probe,
.remove = __devexit_p(com20020pci_remove), .remove = com20020pci_remove,
}; };
static int __init com20020pci_init(void) static int __init com20020pci_init(void)