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

net/lmc: 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>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent da3f21b5
...@@ -816,7 +816,7 @@ static const struct net_device_ops lmc_ops = { ...@@ -816,7 +816,7 @@ static const struct net_device_ops lmc_ops = {
.ndo_get_stats = lmc_get_stats, .ndo_get_stats = lmc_get_stats,
}; };
static int __devinit lmc_init_one(struct pci_dev *pdev, static int lmc_init_one(struct pci_dev *pdev,
const struct pci_device_id *ent) const struct pci_device_id *ent)
{ {
lmc_softc_t *sc; lmc_softc_t *sc;
...@@ -986,7 +986,7 @@ static int __devinit lmc_init_one(struct pci_dev *pdev, ...@@ -986,7 +986,7 @@ static int __devinit lmc_init_one(struct pci_dev *pdev,
/* /*
* Called from pci when removing module. * Called from pci when removing module.
*/ */
static void __devexit lmc_remove_one(struct pci_dev *pdev) static void lmc_remove_one(struct pci_dev *pdev)
{ {
struct net_device *dev = pci_get_drvdata(pdev); struct net_device *dev = pci_get_drvdata(pdev);
...@@ -1733,7 +1733,7 @@ static struct pci_driver lmc_driver = { ...@@ -1733,7 +1733,7 @@ static struct pci_driver lmc_driver = {
.name = "lmc", .name = "lmc",
.id_table = lmc_pci_tbl, .id_table = lmc_pci_tbl,
.probe = lmc_init_one, .probe = lmc_init_one,
.remove = __devexit_p(lmc_remove_one), .remove = lmc_remove_one,
}; };
module_pci_driver(lmc_driver); module_pci_driver(lmc_driver);
......
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