Skip to content

Commit

Permalink
net/lmc: remove __dev* attributes
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Dec 3, 2012
1 parent da3f21b commit a46182e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/wan/lmc/lmc_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ static const struct net_device_ops lmc_ops = {
.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)
{
lmc_softc_t *sc;
Expand Down Expand Up @@ -986,7 +986,7 @@ static int __devinit lmc_init_one(struct pci_dev *pdev,
/*
* 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);

Expand Down Expand Up @@ -1733,7 +1733,7 @@ static struct pci_driver lmc_driver = {
.name = "lmc",
.id_table = lmc_pci_tbl,
.probe = lmc_init_one,
.remove = __devexit_p(lmc_remove_one),
.remove = lmc_remove_one,
};

module_pci_driver(lmc_driver);
Expand Down

0 comments on commit a46182e

Please sign in to comment.