Skip to content

Commit

Permalink
sc92031: 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 87d1fc1 commit 58af79f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ethernet/silan/sc92031.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,7 +1395,7 @@ static const struct net_device_ops sc92031_netdev_ops = {
#endif
};

static int __devinit sc92031_probe(struct pci_dev *pdev,
static int sc92031_probe(struct pci_dev *pdev,
const struct pci_device_id *id)
{
int err;
Expand Down Expand Up @@ -1489,7 +1489,7 @@ static int __devinit sc92031_probe(struct pci_dev *pdev,
return err;
}

static void __devexit sc92031_remove(struct pci_dev *pdev)
static void sc92031_remove(struct pci_dev *pdev)
{
struct net_device *dev = pci_get_drvdata(pdev);
struct sc92031_priv *priv = netdev_priv(dev);
Expand Down Expand Up @@ -1574,7 +1574,7 @@ static struct pci_driver sc92031_pci_driver = {
.name = SC92031_NAME,
.id_table = sc92031_pci_device_id_table,
.probe = sc92031_probe,
.remove = __devexit_p(sc92031_remove),
.remove = sc92031_remove,
.suspend = sc92031_suspend,
.resume = sc92031_resume,
};
Expand Down

0 comments on commit 58af79f

Please sign in to comment.