Skip to content

Commit

Permalink
bfin_mac: 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>
Cc: uclinux-dist-devel@blackfin.uclinux.org
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 d3ace58 commit 49f7315
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions drivers/net/ethernet/adi/bfin_mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ static const struct net_device_ops bfin_mac_netdev_ops = {
#endif
};

static int __devinit bfin_mac_probe(struct platform_device *pdev)
static int bfin_mac_probe(struct platform_device *pdev)
{
struct net_device *ndev;
struct bfin_mac_local *lp;
Expand Down Expand Up @@ -1727,7 +1727,7 @@ static int __devinit bfin_mac_probe(struct platform_device *pdev)
return rc;
}

static int __devexit bfin_mac_remove(struct platform_device *pdev)
static int bfin_mac_remove(struct platform_device *pdev)
{
struct net_device *ndev = platform_get_drvdata(pdev);
struct bfin_mac_local *lp = netdev_priv(ndev);
Expand Down Expand Up @@ -1786,7 +1786,7 @@ static int bfin_mac_resume(struct platform_device *pdev)
#define bfin_mac_resume NULL
#endif /* CONFIG_PM */

static int __devinit bfin_mii_bus_probe(struct platform_device *pdev)
static int bfin_mii_bus_probe(struct platform_device *pdev)
{
struct mii_bus *miibus;
struct bfin_mii_bus_platform_data *mii_bus_pd;
Expand Down Expand Up @@ -1864,7 +1864,7 @@ static int __devinit bfin_mii_bus_probe(struct platform_device *pdev)
return rc;
}

static int __devexit bfin_mii_bus_remove(struct platform_device *pdev)
static int bfin_mii_bus_remove(struct platform_device *pdev)
{
struct mii_bus *miibus = platform_get_drvdata(pdev);
struct bfin_mii_bus_platform_data *mii_bus_pd =
Expand All @@ -1881,7 +1881,7 @@ static int __devexit bfin_mii_bus_remove(struct platform_device *pdev)

static struct platform_driver bfin_mii_bus_driver = {
.probe = bfin_mii_bus_probe,
.remove = __devexit_p(bfin_mii_bus_remove),
.remove = bfin_mii_bus_remove,
.driver = {
.name = "bfin_mii_bus",
.owner = THIS_MODULE,
Expand All @@ -1890,7 +1890,7 @@ static struct platform_driver bfin_mii_bus_driver = {

static struct platform_driver bfin_mac_driver = {
.probe = bfin_mac_probe,
.remove = __devexit_p(bfin_mac_remove),
.remove = bfin_mac_remove,
.resume = bfin_mac_resume,
.suspend = bfin_mac_suspend,
.driver = {
Expand Down

0 comments on commit 49f7315

Please sign in to comment.