cpsw: remove __dev* attributes
authorBill Pemberton <wfp5p@virginia.edu>
Mon, 3 Dec 2012 14:23:45 +0000 (09:23 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Dec 2012 19:16:53 +0000 (11:16 -0800)
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/ti/cpsw.c

index c9714e1c164ad0f54b069f131c0831c3e99e5b6e..40aff684aa23af64fc3ff03f0c5a54df798c0484 100644 (file)
@@ -1136,7 +1136,7 @@ error_ret:
        return ret;
 }
 
-static int __devinit cpsw_probe(struct platform_device *pdev)
+static int cpsw_probe(struct platform_device *pdev)
 {
        struct cpsw_platform_data       *data = pdev->dev.platform_data;
        struct net_device               *ndev;
@@ -1398,7 +1398,7 @@ clean_ndev_ret:
        return ret;
 }
 
-static int __devexit cpsw_remove(struct platform_device *pdev)
+static int cpsw_remove(struct platform_device *pdev)
 {
        struct net_device *ndev = platform_get_drvdata(pdev);
        struct cpsw_priv *priv = netdev_priv(ndev);
@@ -1467,7 +1467,7 @@ static struct platform_driver cpsw_driver = {
                .of_match_table = of_match_ptr(cpsw_of_mtable),
        },
        .probe = cpsw_probe,
-       .remove = __devexit_p(cpsw_remove),
+       .remove = cpsw_remove,
 };
 
 static int __init cpsw_init(void)