aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/ti
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-03 09:23:43 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-12-03 14:16:52 -0500
commitf57ae66ee5486426fc86ed46f97c5e15792c8535 (patch)
treefee4165fbe5bdbff1becd342370b0a14be7c8d8f /drivers/net/ethernet/ti
parentb0171cdc3702416274f05936ef63767d71c25065 (diff)
cpmac: 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: Florian Fainelli <florian@openwrt.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ethernet/ti')
-rw-r--r--drivers/net/ethernet/ti/cpmac.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c
index 860c2526f08d..d9625f62b026 100644
--- a/drivers/net/ethernet/ti/cpmac.c
+++ b/drivers/net/ethernet/ti/cpmac.c
@@ -1110,7 +1110,7 @@ static const struct net_device_ops cpmac_netdev_ops = {
1110 1110
1111static int external_switch; 1111static int external_switch;
1112 1112
1113static int __devinit cpmac_probe(struct platform_device *pdev) 1113static int cpmac_probe(struct platform_device *pdev)
1114{ 1114{
1115 int rc, phy_id; 1115 int rc, phy_id;
1116 char mdio_bus_id[MII_BUS_ID_SIZE]; 1116 char mdio_bus_id[MII_BUS_ID_SIZE];
@@ -1204,7 +1204,7 @@ fail:
1204 return rc; 1204 return rc;
1205} 1205}
1206 1206
1207static int __devexit cpmac_remove(struct platform_device *pdev) 1207static int cpmac_remove(struct platform_device *pdev)
1208{ 1208{
1209 struct net_device *dev = platform_get_drvdata(pdev); 1209 struct net_device *dev = platform_get_drvdata(pdev);
1210 unregister_netdev(dev); 1210 unregister_netdev(dev);
@@ -1216,10 +1216,10 @@ static struct platform_driver cpmac_driver = {
1216 .driver.name = "cpmac", 1216 .driver.name = "cpmac",
1217 .driver.owner = THIS_MODULE, 1217 .driver.owner = THIS_MODULE,
1218 .probe = cpmac_probe, 1218 .probe = cpmac_probe,
1219 .remove = __devexit_p(cpmac_remove), 1219 .remove = cpmac_remove,
1220}; 1220};
1221 1221
1222int __devinit cpmac_init(void) 1222int cpmac_init(void)
1223{ 1223{
1224 u32 mask; 1224 u32 mask;
1225 int i, res; 1225 int i, res;
@@ -1290,7 +1290,7 @@ fail_alloc:
1290 return res; 1290 return res;
1291} 1291}
1292 1292
1293void __devexit cpmac_exit(void) 1293void cpmac_exit(void)
1294{ 1294{
1295 platform_driver_unregister(&cpmac_driver); 1295 platform_driver_unregister(&cpmac_driver);
1296 mdiobus_unregister(cpmac_mii); 1296 mdiobus_unregister(cpmac_mii);