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

aeroflex: 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: Kristoffer Glembo <kristoffer@gaisler.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 49f7315b
...@@ -1376,7 +1376,7 @@ static int greth_mdio_init(struct greth_private *greth) ...@@ -1376,7 +1376,7 @@ static int greth_mdio_init(struct greth_private *greth)
} }
/* Initialize the GRETH MAC */ /* 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 net_device *dev;
struct greth_private *greth; struct greth_private *greth;
...@@ -1576,7 +1576,7 @@ static int __devinit greth_of_probe(struct platform_device *ofdev) ...@@ -1576,7 +1576,7 @@ static int __devinit greth_of_probe(struct platform_device *ofdev)
return err; 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 net_device *ndev = dev_get_drvdata(&of_dev->dev);
struct greth_private *greth = netdev_priv(ndev); struct greth_private *greth = netdev_priv(ndev);
...@@ -1619,7 +1619,7 @@ static struct platform_driver greth_of_driver = { ...@@ -1619,7 +1619,7 @@ static struct platform_driver greth_of_driver = {
.of_match_table = greth_of_match, .of_match_table = greth_of_match,
}, },
.probe = greth_of_probe, .probe = greth_of_probe,
.remove = __devexit_p(greth_of_remove), .remove = greth_of_remove,
}; };
module_platform_driver(greth_of_driver); module_platform_driver(greth_of_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