Skip to content

Commit

Permalink
cpsw: remove __dev* attributes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Bill Pemberton authored and Greg Kroah-Hartman committed Dec 3, 2012
1 parent 3691587 commit 663e12e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/ethernet/ti/cpsw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1136,7 +1136,7 @@ static int cpsw_probe_dt(struct cpsw_platform_data *data,
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;
Expand Down Expand Up @@ -1398,7 +1398,7 @@ static int __devinit cpsw_probe(struct platform_device *pdev)
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);
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 663e12e

Please sign in to comment.