diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:23:19 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:44 -0500 |
commit | 26735f2f126f5d75234e205687e3c15e1a5a3684 (patch) | |
tree | 45fb91369a81b0afee27d33afee08d861954c63d /drivers | |
parent | 3a036ce5c6fdd787d3146c639871668996221c0d (diff) |
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: Bill Pemberton <wfp5p@virginia.edu>
Cc: Wan ZongShun <mcuos.com@gmail.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/nuvoton/w90p910_ether.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/ethernet/nuvoton/w90p910_ether.c b/drivers/net/ethernet/nuvoton/w90p910_ether.c index 6893a65ae55f..cbd6a529d0c0 100644 --- a/drivers/net/ethernet/nuvoton/w90p910_ether.c +++ b/drivers/net/ethernet/nuvoton/w90p910_ether.c | |||
@@ -978,7 +978,7 @@ static int w90p910_ether_setup(struct net_device *dev) | |||
978 | return 0; | 978 | return 0; |
979 | } | 979 | } |
980 | 980 | ||
981 | static int __devinit w90p910_ether_probe(struct platform_device *pdev) | 981 | static int w90p910_ether_probe(struct platform_device *pdev) |
982 | { | 982 | { |
983 | struct w90p910_ether *ether; | 983 | struct w90p910_ether *ether; |
984 | struct net_device *dev; | 984 | struct net_device *dev; |
@@ -1071,7 +1071,7 @@ failed_free: | |||
1071 | return error; | 1071 | return error; |
1072 | } | 1072 | } |
1073 | 1073 | ||
1074 | static int __devexit w90p910_ether_remove(struct platform_device *pdev) | 1074 | static int w90p910_ether_remove(struct platform_device *pdev) |
1075 | { | 1075 | { |
1076 | struct net_device *dev = platform_get_drvdata(pdev); | 1076 | struct net_device *dev = platform_get_drvdata(pdev); |
1077 | struct w90p910_ether *ether = netdev_priv(dev); | 1077 | struct w90p910_ether *ether = netdev_priv(dev); |
@@ -1096,7 +1096,7 @@ static int __devexit w90p910_ether_remove(struct platform_device *pdev) | |||
1096 | 1096 | ||
1097 | static struct platform_driver w90p910_ether_driver = { | 1097 | static struct platform_driver w90p910_ether_driver = { |
1098 | .probe = w90p910_ether_probe, | 1098 | .probe = w90p910_ether_probe, |
1099 | .remove = __devexit_p(w90p910_ether_remove), | 1099 | .remove = w90p910_ether_remove, |
1100 | .driver = { | 1100 | .driver = { |
1101 | .name = "nuc900-emc", | 1101 | .name = "nuc900-emc", |
1102 | .owner = THIS_MODULE, | 1102 | .owner = THIS_MODULE, |