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

bna: 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: Rasesh Mody <rmody@brocade.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 229b1ad1
...@@ -3226,7 +3226,7 @@ bnad_pci_uninit(struct pci_dev *pdev) ...@@ -3226,7 +3226,7 @@ bnad_pci_uninit(struct pci_dev *pdev)
pci_disable_device(pdev); pci_disable_device(pdev);
} }
static int __devinit static int
bnad_pci_probe(struct pci_dev *pdev, bnad_pci_probe(struct pci_dev *pdev,
const struct pci_device_id *pcidev_id) const struct pci_device_id *pcidev_id)
{ {
...@@ -3426,7 +3426,7 @@ bnad_pci_probe(struct pci_dev *pdev, ...@@ -3426,7 +3426,7 @@ bnad_pci_probe(struct pci_dev *pdev,
return err; return err;
} }
static void __devexit static void
bnad_pci_remove(struct pci_dev *pdev) bnad_pci_remove(struct pci_dev *pdev)
{ {
struct net_device *netdev = pci_get_drvdata(pdev); struct net_device *netdev = pci_get_drvdata(pdev);
...@@ -3490,7 +3490,7 @@ static struct pci_driver bnad_pci_driver = { ...@@ -3490,7 +3490,7 @@ static struct pci_driver bnad_pci_driver = {
.name = BNAD_NAME, .name = BNAD_NAME,
.id_table = bnad_pci_id_table, .id_table = bnad_pci_id_table,
.probe = bnad_pci_probe, .probe = bnad_pci_probe,
.remove = __devexit_p(bnad_pci_remove), .remove = bnad_pci_remove,
}; };
static int __init static int __init
......
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