Commit a027cb88 authored by Bill Pemberton's avatar Bill Pemberton Committed by John W. Linville

iwlegacy: 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: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent eb9248ee
...@@ -3794,7 +3794,7 @@ il3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -3794,7 +3794,7 @@ il3945_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
return err; return err;
} }
static void __devexit static void
il3945_pci_remove(struct pci_dev *pdev) il3945_pci_remove(struct pci_dev *pdev)
{ {
struct il_priv *il = pci_get_drvdata(pdev); struct il_priv *il = pci_get_drvdata(pdev);
...@@ -3884,7 +3884,7 @@ static struct pci_driver il3945_driver = { ...@@ -3884,7 +3884,7 @@ static struct pci_driver il3945_driver = {
.name = DRV_NAME, .name = DRV_NAME,
.id_table = il3945_hw_card_ids, .id_table = il3945_hw_card_ids,
.probe = il3945_pci_probe, .probe = il3945_pci_probe,
.remove = __devexit_p(il3945_pci_remove), .remove = il3945_pci_remove,
.driver.pm = IL_LEGACY_PM_OPS, .driver.pm = IL_LEGACY_PM_OPS,
}; };
......
...@@ -6664,7 +6664,7 @@ il4965_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) ...@@ -6664,7 +6664,7 @@ il4965_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
return err; return err;
} }
static void __devexit static void
il4965_pci_remove(struct pci_dev *pdev) il4965_pci_remove(struct pci_dev *pdev)
{ {
struct il_priv *il = pci_get_drvdata(pdev); struct il_priv *il = pci_get_drvdata(pdev);
...@@ -6772,7 +6772,7 @@ static struct pci_driver il4965_driver = { ...@@ -6772,7 +6772,7 @@ static struct pci_driver il4965_driver = {
.name = DRV_NAME, .name = DRV_NAME,
.id_table = il4965_hw_card_ids, .id_table = il4965_hw_card_ids,
.probe = il4965_pci_probe, .probe = il4965_pci_probe,
.remove = __devexit_p(il4965_pci_remove), .remove = il4965_pci_remove,
.driver.pm = IL_LEGACY_PM_OPS, .driver.pm = IL_LEGACY_PM_OPS,
}; };
......
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