aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:45 -0500
commite3a582feac18f586d1ba9ddb08d4f77719923bc9 (patch)
tree1caa4bd623f2793ea6c496ba849feaf64d31a6af /drivers
parent6bb58bb0afa28bc573fb8240a4bc4e04890e3389 (diff)
qla3xxx: 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')
-rw-r--r--drivers/net/ethernet/qlogic/qla3xxx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/qlogic/qla3xxx.c b/drivers/net/ethernet/qlogic/qla3xxx.c
index 12d1f2470d5c..df6eb27fa101 100644
--- a/drivers/net/ethernet/qlogic/qla3xxx.c
+++ b/drivers/net/ethernet/qlogic/qla3xxx.c
@@ -3769,7 +3769,7 @@ static const struct net_device_ops ql3xxx_netdev_ops = {
3769 .ndo_tx_timeout = ql3xxx_tx_timeout, 3769 .ndo_tx_timeout = ql3xxx_tx_timeout,
3770}; 3770};
3771 3771
3772static int __devinit ql3xxx_probe(struct pci_dev *pdev, 3772static int ql3xxx_probe(struct pci_dev *pdev,
3773 const struct pci_device_id *pci_entry) 3773 const struct pci_device_id *pci_entry)
3774{ 3774{
3775 struct net_device *ndev = NULL; 3775 struct net_device *ndev = NULL;
@@ -3925,7 +3925,7 @@ err_out:
3925 return err; 3925 return err;
3926} 3926}
3927 3927
3928static void __devexit ql3xxx_remove(struct pci_dev *pdev) 3928static void ql3xxx_remove(struct pci_dev *pdev)
3929{ 3929{
3930 struct net_device *ndev = pci_get_drvdata(pdev); 3930 struct net_device *ndev = pci_get_drvdata(pdev);
3931 struct ql3_adapter *qdev = netdev_priv(ndev); 3931 struct ql3_adapter *qdev = netdev_priv(ndev);
@@ -3952,7 +3952,7 @@ static struct pci_driver ql3xxx_driver = {
3952 .name = DRV_NAME, 3952 .name = DRV_NAME,
3953 .id_table = ql3xxx_pci_tbl, 3953 .id_table = ql3xxx_pci_tbl,
3954 .probe = ql3xxx_probe, 3954 .probe = ql3xxx_probe,
3955 .remove = __devexit_p(ql3xxx_remove), 3955 .remove = ql3xxx_remove,
3956}; 3956};
3957 3957
3958module_pci_driver(ql3xxx_driver); 3958module_pci_driver(ql3xxx_driver);