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

nuvoton: 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: Wan ZongShun <mcuos.com@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3a036ce5
...@@ -978,7 +978,7 @@ static int w90p910_ether_setup(struct net_device *dev) ...@@ -978,7 +978,7 @@ static int w90p910_ether_setup(struct net_device *dev)
return 0; return 0;
} }
static int __devinit w90p910_ether_probe(struct platform_device *pdev) static int w90p910_ether_probe(struct platform_device *pdev)
{ {
struct w90p910_ether *ether; struct w90p910_ether *ether;
struct net_device *dev; struct net_device *dev;
...@@ -1071,7 +1071,7 @@ static int __devinit w90p910_ether_probe(struct platform_device *pdev) ...@@ -1071,7 +1071,7 @@ static int __devinit w90p910_ether_probe(struct platform_device *pdev)
return error; return error;
} }
static int __devexit w90p910_ether_remove(struct platform_device *pdev) static int w90p910_ether_remove(struct platform_device *pdev)
{ {
struct net_device *dev = platform_get_drvdata(pdev); struct net_device *dev = platform_get_drvdata(pdev);
struct w90p910_ether *ether = netdev_priv(dev); struct w90p910_ether *ether = netdev_priv(dev);
...@@ -1096,7 +1096,7 @@ static int __devexit w90p910_ether_remove(struct platform_device *pdev) ...@@ -1096,7 +1096,7 @@ static int __devexit w90p910_ether_remove(struct platform_device *pdev)
static struct platform_driver w90p910_ether_driver = { static struct platform_driver w90p910_ether_driver = {
.probe = w90p910_ether_probe, .probe = w90p910_ether_probe,
.remove = __devexit_p(w90p910_ether_remove), .remove = w90p910_ether_remove,
.driver = { .driver = {
.name = "nuc900-emc", .name = "nuc900-emc",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
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