Commit 3a4751a3 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

vmxnet3: 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: Shreyas Bhatewara <sbhatewara@vmware.com>
Cc: VMware, Inc. <pv-drivers@vmware.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8cc085d6
...@@ -2885,7 +2885,7 @@ vmxnet3_reset_work(struct work_struct *data) ...@@ -2885,7 +2885,7 @@ vmxnet3_reset_work(struct work_struct *data)
} }
static int __devinit static int
vmxnet3_probe_device(struct pci_dev *pdev, vmxnet3_probe_device(struct pci_dev *pdev,
const struct pci_device_id *id) const struct pci_device_id *id)
{ {
...@@ -3096,7 +3096,7 @@ vmxnet3_probe_device(struct pci_dev *pdev, ...@@ -3096,7 +3096,7 @@ vmxnet3_probe_device(struct pci_dev *pdev,
} }
static void __devexit static void
vmxnet3_remove_device(struct pci_dev *pdev) vmxnet3_remove_device(struct pci_dev *pdev)
{ {
struct net_device *netdev = pci_get_drvdata(pdev); struct net_device *netdev = pci_get_drvdata(pdev);
...@@ -3302,7 +3302,7 @@ static struct pci_driver vmxnet3_driver = { ...@@ -3302,7 +3302,7 @@ static struct pci_driver vmxnet3_driver = {
.name = vmxnet3_driver_name, .name = vmxnet3_driver_name,
.id_table = vmxnet3_pciid_table, .id_table = vmxnet3_pciid_table,
.probe = vmxnet3_probe_device, .probe = vmxnet3_probe_device,
.remove = __devexit_p(vmxnet3_remove_device), .remove = vmxnet3_remove_device,
#ifdef CONFIG_PM #ifdef CONFIG_PM
.driver.pm = &vmxnet3_pm_ops, .driver.pm = &vmxnet3_pm_ops,
#endif #endif
......
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