Commit 671a1435 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

net/spider_net: 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: Ishizaki Kou <kou.ishizaki@toshiba.co.jp>
Cc: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 14d4171d
...@@ -2492,7 +2492,7 @@ spider_net_setup_pci_dev(struct pci_dev *pdev) ...@@ -2492,7 +2492,7 @@ spider_net_setup_pci_dev(struct pci_dev *pdev)
* spider_net_probe initializes pdev and registers a net_device * spider_net_probe initializes pdev and registers a net_device
* structure for it. After that, the device can be ifconfig'ed up * structure for it. After that, the device can be ifconfig'ed up
**/ **/
static int __devinit static int
spider_net_probe(struct pci_dev *pdev, const struct pci_device_id *ent) spider_net_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
{ {
int err = -EIO; int err = -EIO;
...@@ -2531,7 +2531,7 @@ spider_net_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -2531,7 +2531,7 @@ spider_net_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
* spider_net_remove is called to remove the device and unregisters the * spider_net_remove is called to remove the device and unregisters the
* net_device * net_device
**/ **/
static void __devexit static void
spider_net_remove(struct pci_dev *pdev) spider_net_remove(struct pci_dev *pdev)
{ {
struct net_device *netdev; struct net_device *netdev;
...@@ -2559,7 +2559,7 @@ static struct pci_driver spider_net_driver = { ...@@ -2559,7 +2559,7 @@ static struct pci_driver spider_net_driver = {
.name = spider_net_driver_name, .name = spider_net_driver_name,
.id_table = spider_net_pci_tbl, .id_table = spider_net_pci_tbl,
.probe = spider_net_probe, .probe = spider_net_probe,
.remove = __devexit_p(spider_net_remove) .remove = spider_net_remove
}; };
/** /**
......
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