Commit bb1f4606 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

ieee802154: 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: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6e945491
...@@ -778,7 +778,7 @@ static int at86rf230_fill_data(struct spi_device *spi) ...@@ -778,7 +778,7 @@ static int at86rf230_fill_data(struct spi_device *spi)
return 0; return 0;
} }
static int __devinit at86rf230_probe(struct spi_device *spi) static int at86rf230_probe(struct spi_device *spi)
{ {
struct ieee802154_dev *dev; struct ieee802154_dev *dev;
struct at86rf230_local *lp; struct at86rf230_local *lp;
...@@ -920,7 +920,7 @@ static int __devinit at86rf230_probe(struct spi_device *spi) ...@@ -920,7 +920,7 @@ static int __devinit at86rf230_probe(struct spi_device *spi)
return rc; return rc;
} }
static int __devexit at86rf230_remove(struct spi_device *spi) static int at86rf230_remove(struct spi_device *spi)
{ {
struct at86rf230_local *lp = spi_get_drvdata(spi); struct at86rf230_local *lp = spi_get_drvdata(spi);
...@@ -947,7 +947,7 @@ static struct spi_driver at86rf230_driver = { ...@@ -947,7 +947,7 @@ static struct spi_driver at86rf230_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = at86rf230_probe, .probe = at86rf230_probe,
.remove = __devexit_p(at86rf230_remove), .remove = at86rf230_remove,
.suspend = at86rf230_suspend, .suspend = at86rf230_suspend,
.resume = at86rf230_resume, .resume = at86rf230_resume,
}; };
......
...@@ -354,7 +354,7 @@ static void ieee802154_fake_setup(struct net_device *dev) ...@@ -354,7 +354,7 @@ static void ieee802154_fake_setup(struct net_device *dev)
} }
static int __devinit ieee802154fake_probe(struct platform_device *pdev) static int ieee802154fake_probe(struct platform_device *pdev)
{ {
struct net_device *dev; struct net_device *dev;
struct fakehard_priv *priv; struct fakehard_priv *priv;
...@@ -412,7 +412,7 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev) ...@@ -412,7 +412,7 @@ static int __devinit ieee802154fake_probe(struct platform_device *pdev)
return err; return err;
} }
static int __devexit ieee802154fake_remove(struct platform_device *pdev) static int ieee802154fake_remove(struct platform_device *pdev)
{ {
struct net_device *dev = platform_get_drvdata(pdev); struct net_device *dev = platform_get_drvdata(pdev);
unregister_netdev(dev); unregister_netdev(dev);
...@@ -423,7 +423,7 @@ static struct platform_device *ieee802154fake_dev; ...@@ -423,7 +423,7 @@ static struct platform_device *ieee802154fake_dev;
static struct platform_driver ieee802154fake_driver = { static struct platform_driver ieee802154fake_driver = {
.probe = ieee802154fake_probe, .probe = ieee802154fake_probe,
.remove = __devexit_p(ieee802154fake_remove), .remove = ieee802154fake_remove,
.driver = { .driver = {
.name = "ieee802154hardmac", .name = "ieee802154hardmac",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -221,7 +221,7 @@ static void fakelb_del(struct fakelb_dev_priv *priv) ...@@ -221,7 +221,7 @@ static void fakelb_del(struct fakelb_dev_priv *priv)
ieee802154_free_device(priv->dev); ieee802154_free_device(priv->dev);
} }
static int __devinit fakelb_probe(struct platform_device *pdev) static int fakelb_probe(struct platform_device *pdev)
{ {
struct fakelb_priv *priv; struct fakelb_priv *priv;
struct fakelb_dev_priv *dp; struct fakelb_dev_priv *dp;
...@@ -253,7 +253,7 @@ static int __devinit fakelb_probe(struct platform_device *pdev) ...@@ -253,7 +253,7 @@ static int __devinit fakelb_probe(struct platform_device *pdev)
return err; return err;
} }
static int __devexit fakelb_remove(struct platform_device *pdev) static int fakelb_remove(struct platform_device *pdev)
{ {
struct fakelb_priv *priv = platform_get_drvdata(pdev); struct fakelb_priv *priv = platform_get_drvdata(pdev);
struct fakelb_dev_priv *dp, *temp; struct fakelb_dev_priv *dp, *temp;
...@@ -269,7 +269,7 @@ static struct platform_device *ieee802154fake_dev; ...@@ -269,7 +269,7 @@ static struct platform_device *ieee802154fake_dev;
static struct platform_driver ieee802154fake_driver = { static struct platform_driver ieee802154fake_driver = {
.probe = fakelb_probe, .probe = fakelb_probe,
.remove = __devexit_p(fakelb_remove), .remove = fakelb_remove,
.driver = { .driver = {
.name = "ieee802154fakelb", .name = "ieee802154fakelb",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -618,7 +618,7 @@ static void mrf24j40_isrwork(struct work_struct *work) ...@@ -618,7 +618,7 @@ static void mrf24j40_isrwork(struct work_struct *work)
enable_irq(devrec->spi->irq); enable_irq(devrec->spi->irq);
} }
static int __devinit mrf24j40_probe(struct spi_device *spi) static int mrf24j40_probe(struct spi_device *spi)
{ {
int ret = -ENOMEM; int ret = -ENOMEM;
u8 val; u8 val;
...@@ -711,7 +711,7 @@ static int __devinit mrf24j40_probe(struct spi_device *spi) ...@@ -711,7 +711,7 @@ static int __devinit mrf24j40_probe(struct spi_device *spi)
return ret; return ret;
} }
static int __devexit mrf24j40_remove(struct spi_device *spi) static int mrf24j40_remove(struct spi_device *spi)
{ {
struct mrf24j40 *devrec = dev_get_drvdata(&spi->dev); struct mrf24j40 *devrec = dev_get_drvdata(&spi->dev);
...@@ -746,7 +746,7 @@ static struct spi_driver mrf24j40_driver = { ...@@ -746,7 +746,7 @@ static struct spi_driver mrf24j40_driver = {
}, },
.id_table = mrf24j40_ids, .id_table = mrf24j40_ids,
.probe = mrf24j40_probe, .probe = mrf24j40_probe,
.remove = __devexit_p(mrf24j40_remove), .remove = mrf24j40_remove,
}; };
static int __init mrf24j40_init(void) static int __init mrf24j40_init(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment