diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:27 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:45 -0500 |
commit | 5d8e87265715a109b3e3dc0829dc2dbcbf8b16ac (patch) | |
tree | 51021154c6d47256984fd37b5e05e4f39e1780e6 /drivers/net/ethernet/qlogic/qlge | |
parent | e3a582feac18f586d1ba9ddb08d4f77719923bc9 (diff) |
qlge: 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: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Cc: Ron Mercer <ron.mercer@qlogic.com>
Cc: linux-driver@qlogic.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qlge')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlge/qlge_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_main.c b/drivers/net/ethernet/qlogic/qlge/qlge_main.c index b262d6156816..cae881c18f0b 100644 --- a/drivers/net/ethernet/qlogic/qlge/qlge_main.c +++ b/drivers/net/ethernet/qlogic/qlge/qlge_main.c | |||
@@ -4491,7 +4491,7 @@ static void ql_release_all(struct pci_dev *pdev) | |||
4491 | pci_set_drvdata(pdev, NULL); | 4491 | pci_set_drvdata(pdev, NULL); |
4492 | } | 4492 | } |
4493 | 4493 | ||
4494 | static int __devinit ql_init_device(struct pci_dev *pdev, | 4494 | static int ql_init_device(struct pci_dev *pdev, |
4495 | struct net_device *ndev, int cards_found) | 4495 | struct net_device *ndev, int cards_found) |
4496 | { | 4496 | { |
4497 | struct ql_adapter *qdev = netdev_priv(ndev); | 4497 | struct ql_adapter *qdev = netdev_priv(ndev); |
@@ -4656,7 +4656,7 @@ static void ql_timer(unsigned long data) | |||
4656 | mod_timer(&qdev->timer, jiffies + (5*HZ)); | 4656 | mod_timer(&qdev->timer, jiffies + (5*HZ)); |
4657 | } | 4657 | } |
4658 | 4658 | ||
4659 | static int __devinit qlge_probe(struct pci_dev *pdev, | 4659 | static int qlge_probe(struct pci_dev *pdev, |
4660 | const struct pci_device_id *pci_entry) | 4660 | const struct pci_device_id *pci_entry) |
4661 | { | 4661 | { |
4662 | struct net_device *ndev = NULL; | 4662 | struct net_device *ndev = NULL; |
@@ -4729,7 +4729,7 @@ int ql_clean_lb_rx_ring(struct rx_ring *rx_ring, int budget) | |||
4729 | return ql_clean_inbound_rx_ring(rx_ring, budget); | 4729 | return ql_clean_inbound_rx_ring(rx_ring, budget); |
4730 | } | 4730 | } |
4731 | 4731 | ||
4732 | static void __devexit qlge_remove(struct pci_dev *pdev) | 4732 | static void qlge_remove(struct pci_dev *pdev) |
4733 | { | 4733 | { |
4734 | struct net_device *ndev = pci_get_drvdata(pdev); | 4734 | struct net_device *ndev = pci_get_drvdata(pdev); |
4735 | struct ql_adapter *qdev = netdev_priv(ndev); | 4735 | struct ql_adapter *qdev = netdev_priv(ndev); |
@@ -4921,7 +4921,7 @@ static struct pci_driver qlge_driver = { | |||
4921 | .name = DRV_NAME, | 4921 | .name = DRV_NAME, |
4922 | .id_table = qlge_pci_tbl, | 4922 | .id_table = qlge_pci_tbl, |
4923 | .probe = qlge_probe, | 4923 | .probe = qlge_probe, |
4924 | .remove = __devexit_p(qlge_remove), | 4924 | .remove = qlge_remove, |
4925 | #ifdef CONFIG_PM | 4925 | #ifdef CONFIG_PM |
4926 | .suspend = qlge_suspend, | 4926 | .suspend = qlge_suspend, |
4927 | .resume = qlge_resume, | 4927 | .resume = qlge_resume, |