diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-03 09:24:12 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-12-03 14:16:56 -0500 |
commit | bb1f4606754c45bbb467c15aa5fec84228f73e47 (patch) | |
tree | 7b965200cb3eb3eab0fbcd588b7564d391e4f26f /drivers/net/ieee802154 | |
parent | 6e9454913e9b0e7b02377ee102348dd8e9681f44 (diff) |
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: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/ieee802154')
-rw-r--r-- | drivers/net/ieee802154/at86rf230.c | 6 | ||||
-rw-r--r-- | drivers/net/ieee802154/fakehard.c | 6 | ||||
-rw-r--r-- | drivers/net/ieee802154/fakelb.c | 6 | ||||
-rw-r--r-- | drivers/net/ieee802154/mrf24j40.c | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/drivers/net/ieee802154/at86rf230.c b/drivers/net/ieee802154/at86rf230.c index ba753d87a32f..a4a62e170ec0 100644 --- a/drivers/net/ieee802154/at86rf230.c +++ b/drivers/net/ieee802154/at86rf230.c | |||
@@ -778,7 +778,7 @@ static int at86rf230_fill_data(struct spi_device *spi) | |||
778 | return 0; | 778 | return 0; |
779 | } | 779 | } |
780 | 780 | ||
781 | static int __devinit at86rf230_probe(struct spi_device *spi) | 781 | static int at86rf230_probe(struct spi_device *spi) |
782 | { | 782 | { |
783 | struct ieee802154_dev *dev; | 783 | struct ieee802154_dev *dev; |
784 | struct at86rf230_local *lp; | 784 | struct at86rf230_local *lp; |
@@ -920,7 +920,7 @@ err_fill: | |||
920 | return rc; | 920 | return rc; |
921 | } | 921 | } |
922 | 922 | ||
923 | static int __devexit at86rf230_remove(struct spi_device *spi) | 923 | static int at86rf230_remove(struct spi_device *spi) |
924 | { | 924 | { |
925 | struct at86rf230_local *lp = spi_get_drvdata(spi); | 925 | struct at86rf230_local *lp = spi_get_drvdata(spi); |
926 | 926 | ||
@@ -947,7 +947,7 @@ static struct spi_driver at86rf230_driver = { | |||
947 | .owner = THIS_MODULE, | 947 | .owner = THIS_MODULE, |
948 | }, | 948 | }, |
949 | .probe = at86rf230_probe, | 949 | .probe = at86rf230_probe, |
950 | .remove = __devexit_p(at86rf230_remove), | 950 | .remove = at86rf230_remove, |
951 | .suspend = at86rf230_suspend, | 951 | .suspend = at86rf230_suspend, |
952 | .resume = at86rf230_resume, | 952 | .resume = at86rf230_resume, |
953 | }; | 953 | }; |
diff --git a/drivers/net/ieee802154/fakehard.c b/drivers/net/ieee802154/fakehard.c index 7d39add7d467..1e9cb0bbf62c 100644 --- a/drivers/net/ieee802154/fakehard.c +++ b/drivers/net/ieee802154/fakehard.c | |||
@@ -354,7 +354,7 @@ static void ieee802154_fake_setup(struct net_device *dev) | |||
354 | } | 354 | } |
355 | 355 | ||
356 | 356 | ||
357 | static int __devinit ieee802154fake_probe(struct platform_device *pdev) | 357 | static int ieee802154fake_probe(struct platform_device *pdev) |
358 | { | 358 | { |
359 | struct net_device *dev; | 359 | struct net_device *dev; |
360 | struct fakehard_priv *priv; | 360 | struct fakehard_priv *priv; |
@@ -412,7 +412,7 @@ out: | |||
412 | return err; | 412 | return err; |
413 | } | 413 | } |
414 | 414 | ||
415 | static int __devexit ieee802154fake_remove(struct platform_device *pdev) | 415 | static int ieee802154fake_remove(struct platform_device *pdev) |
416 | { | 416 | { |
417 | struct net_device *dev = platform_get_drvdata(pdev); | 417 | struct net_device *dev = platform_get_drvdata(pdev); |
418 | unregister_netdev(dev); | 418 | unregister_netdev(dev); |
@@ -423,7 +423,7 @@ static struct platform_device *ieee802154fake_dev; | |||
423 | 423 | ||
424 | static struct platform_driver ieee802154fake_driver = { | 424 | static struct platform_driver ieee802154fake_driver = { |
425 | .probe = ieee802154fake_probe, | 425 | .probe = ieee802154fake_probe, |
426 | .remove = __devexit_p(ieee802154fake_remove), | 426 | .remove = ieee802154fake_remove, |
427 | .driver = { | 427 | .driver = { |
428 | .name = "ieee802154hardmac", | 428 | .name = "ieee802154hardmac", |
429 | .owner = THIS_MODULE, | 429 | .owner = THIS_MODULE, |
diff --git a/drivers/net/ieee802154/fakelb.c b/drivers/net/ieee802154/fakelb.c index e7456fcd0913..b8d22173925d 100644 --- a/drivers/net/ieee802154/fakelb.c +++ b/drivers/net/ieee802154/fakelb.c | |||
@@ -221,7 +221,7 @@ static void fakelb_del(struct fakelb_dev_priv *priv) | |||
221 | ieee802154_free_device(priv->dev); | 221 | ieee802154_free_device(priv->dev); |
222 | } | 222 | } |
223 | 223 | ||
224 | static int __devinit fakelb_probe(struct platform_device *pdev) | 224 | static int fakelb_probe(struct platform_device *pdev) |
225 | { | 225 | { |
226 | struct fakelb_priv *priv; | 226 | struct fakelb_priv *priv; |
227 | struct fakelb_dev_priv *dp; | 227 | struct fakelb_dev_priv *dp; |
@@ -253,7 +253,7 @@ err_alloc: | |||
253 | return err; | 253 | return err; |
254 | } | 254 | } |
255 | 255 | ||
256 | static int __devexit fakelb_remove(struct platform_device *pdev) | 256 | static int fakelb_remove(struct platform_device *pdev) |
257 | { | 257 | { |
258 | struct fakelb_priv *priv = platform_get_drvdata(pdev); | 258 | struct fakelb_priv *priv = platform_get_drvdata(pdev); |
259 | struct fakelb_dev_priv *dp, *temp; | 259 | struct fakelb_dev_priv *dp, *temp; |
@@ -269,7 +269,7 @@ static struct platform_device *ieee802154fake_dev; | |||
269 | 269 | ||
270 | static struct platform_driver ieee802154fake_driver = { | 270 | static struct platform_driver ieee802154fake_driver = { |
271 | .probe = fakelb_probe, | 271 | .probe = fakelb_probe, |
272 | .remove = __devexit_p(fakelb_remove), | 272 | .remove = fakelb_remove, |
273 | .driver = { | 273 | .driver = { |
274 | .name = "ieee802154fakelb", | 274 | .name = "ieee802154fakelb", |
275 | .owner = THIS_MODULE, | 275 | .owner = THIS_MODULE, |
diff --git a/drivers/net/ieee802154/mrf24j40.c b/drivers/net/ieee802154/mrf24j40.c index ed7521693980..3f2c7aaf28c4 100644 --- a/drivers/net/ieee802154/mrf24j40.c +++ b/drivers/net/ieee802154/mrf24j40.c | |||
@@ -618,7 +618,7 @@ out: | |||
618 | enable_irq(devrec->spi->irq); | 618 | enable_irq(devrec->spi->irq); |
619 | } | 619 | } |
620 | 620 | ||
621 | static int __devinit mrf24j40_probe(struct spi_device *spi) | 621 | static int mrf24j40_probe(struct spi_device *spi) |
622 | { | 622 | { |
623 | int ret = -ENOMEM; | 623 | int ret = -ENOMEM; |
624 | u8 val; | 624 | u8 val; |
@@ -711,7 +711,7 @@ err_devrec: | |||
711 | return ret; | 711 | return ret; |
712 | } | 712 | } |
713 | 713 | ||
714 | static int __devexit mrf24j40_remove(struct spi_device *spi) | 714 | static int mrf24j40_remove(struct spi_device *spi) |
715 | { | 715 | { |
716 | struct mrf24j40 *devrec = dev_get_drvdata(&spi->dev); | 716 | struct mrf24j40 *devrec = dev_get_drvdata(&spi->dev); |
717 | 717 | ||
@@ -746,7 +746,7 @@ static struct spi_driver mrf24j40_driver = { | |||
746 | }, | 746 | }, |
747 | .id_table = mrf24j40_ids, | 747 | .id_table = mrf24j40_ids, |
748 | .probe = mrf24j40_probe, | 748 | .probe = mrf24j40_probe, |
749 | .remove = __devexit_p(mrf24j40_remove), | 749 | .remove = mrf24j40_remove, |
750 | }; | 750 | }; |
751 | 751 | ||
752 | static int __init mrf24j40_init(void) | 752 | static int __init mrf24j40_init(void) |