diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:00 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:42 -0500 |
commit | c4eef189aaef84612de3961b2681fbf794afca20 (patch) | |
tree | 9684cfdffaa9eca2598c8433e9c58cb80ddd8dc9 | |
parent | 229b1ad1cb1a7159658f466c736bc3898dabb876 (diff) |
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: Bill Pemberton <wfp5p@virginia.edu>
Cc: Rasesh Mody <rmody@brocade.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/net/ethernet/brocade/bna/bnad.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/brocade/bna/bnad.c b/drivers/net/ethernet/brocade/bna/bnad.c index ce1eac529470..76b2af64adc2 100644 --- a/drivers/net/ethernet/brocade/bna/bnad.c +++ b/drivers/net/ethernet/brocade/bna/bnad.c | |||
@@ -3226,7 +3226,7 @@ bnad_pci_uninit(struct pci_dev *pdev) | |||
3226 | pci_disable_device(pdev); | 3226 | pci_disable_device(pdev); |
3227 | } | 3227 | } |
3228 | 3228 | ||
3229 | static int __devinit | 3229 | static int |
3230 | bnad_pci_probe(struct pci_dev *pdev, | 3230 | bnad_pci_probe(struct pci_dev *pdev, |
3231 | const struct pci_device_id *pcidev_id) | 3231 | const struct pci_device_id *pcidev_id) |
3232 | { | 3232 | { |
@@ -3426,7 +3426,7 @@ unlock_mutex: | |||
3426 | return err; | 3426 | return err; |
3427 | } | 3427 | } |
3428 | 3428 | ||
3429 | static void __devexit | 3429 | static void |
3430 | bnad_pci_remove(struct pci_dev *pdev) | 3430 | bnad_pci_remove(struct pci_dev *pdev) |
3431 | { | 3431 | { |
3432 | struct net_device *netdev = pci_get_drvdata(pdev); | 3432 | struct net_device *netdev = pci_get_drvdata(pdev); |
@@ -3490,7 +3490,7 @@ static struct pci_driver bnad_pci_driver = { | |||
3490 | .name = BNAD_NAME, | 3490 | .name = BNAD_NAME, |
3491 | .id_table = bnad_pci_id_table, | 3491 | .id_table = bnad_pci_id_table, |
3492 | .probe = bnad_pci_probe, | 3492 | .probe = bnad_pci_probe, |
3493 | .remove = __devexit_p(bnad_pci_remove), | 3493 | .remove = bnad_pci_remove, |
3494 | }; | 3494 | }; |
3495 | 3495 | ||
3496 | static int __init | 3496 | static int __init |