Skip to content

Commit

Permalink
aeroflex: 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>
Cc: Kristoffer Glembo <kristoffer@gaisler.com>
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 49f7315 commit c0c0e29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ethernet/aeroflex/greth.c
Original file line number Diff line number Diff line change
Expand Up @@ -1376,7 +1376,7 @@ static int greth_mdio_init(struct greth_private *greth)
}

/* Initialize the GRETH MAC */
static int __devinit greth_of_probe(struct platform_device *ofdev)
static int greth_of_probe(struct platform_device *ofdev)
{
struct net_device *dev;
struct greth_private *greth;
Expand Down Expand Up @@ -1576,7 +1576,7 @@ static int __devinit greth_of_probe(struct platform_device *ofdev)
return err;
}

static int __devexit greth_of_remove(struct platform_device *of_dev)
static int greth_of_remove(struct platform_device *of_dev)
{
struct net_device *ndev = dev_get_drvdata(&of_dev->dev);
struct greth_private *greth = netdev_priv(ndev);
Expand Down Expand Up @@ -1619,7 +1619,7 @@ static struct platform_driver greth_of_driver = {
.of_match_table = greth_of_match,
},
.probe = greth_of_probe,
.remove = __devexit_p(greth_of_remove),
.remove = greth_of_remove,
};

module_platform_driver(greth_of_driver);
Expand Down

0 comments on commit c0c0e29

Please sign in to comment.