diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-07 09:26:26 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:31:24 -0500 |
commit | 34e15fbdaa7b1839941d42c5fea96329a53be135 (patch) | |
tree | 851e25a07c4186a1b71a527c82d08e5795c53f18 /sound/soc | |
parent | 7759f2ea944914534dd3095db8978b75a2e4c982 (diff) |
ASoC: kirkwood: 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: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/kirkwood/kirkwood-dma.c | 6 | ||||
-rw-r--r-- | sound/soc/kirkwood/kirkwood-i2s.c | 6 | ||||
-rw-r--r-- | sound/soc/kirkwood/kirkwood-openrd.c | 6 | ||||
-rw-r--r-- | sound/soc/kirkwood/kirkwood-t5325.c | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/sound/soc/kirkwood/kirkwood-dma.c b/sound/soc/kirkwood/kirkwood-dma.c index 58d5a96b366f..d3d4bdca1cc6 100644 --- a/sound/soc/kirkwood/kirkwood-dma.c +++ b/sound/soc/kirkwood/kirkwood-dma.c | |||
@@ -372,12 +372,12 @@ static struct snd_soc_platform_driver kirkwood_soc_platform = { | |||
372 | .pcm_free = kirkwood_dma_free_dma_buffers, | 372 | .pcm_free = kirkwood_dma_free_dma_buffers, |
373 | }; | 373 | }; |
374 | 374 | ||
375 | static int __devinit kirkwood_soc_platform_probe(struct platform_device *pdev) | 375 | static int kirkwood_soc_platform_probe(struct platform_device *pdev) |
376 | { | 376 | { |
377 | return snd_soc_register_platform(&pdev->dev, &kirkwood_soc_platform); | 377 | return snd_soc_register_platform(&pdev->dev, &kirkwood_soc_platform); |
378 | } | 378 | } |
379 | 379 | ||
380 | static int __devexit kirkwood_soc_platform_remove(struct platform_device *pdev) | 380 | static int kirkwood_soc_platform_remove(struct platform_device *pdev) |
381 | { | 381 | { |
382 | snd_soc_unregister_platform(&pdev->dev); | 382 | snd_soc_unregister_platform(&pdev->dev); |
383 | return 0; | 383 | return 0; |
@@ -390,7 +390,7 @@ static struct platform_driver kirkwood_pcm_driver = { | |||
390 | }, | 390 | }, |
391 | 391 | ||
392 | .probe = kirkwood_soc_platform_probe, | 392 | .probe = kirkwood_soc_platform_probe, |
393 | .remove = __devexit_p(kirkwood_soc_platform_remove), | 393 | .remove = kirkwood_soc_platform_remove, |
394 | }; | 394 | }; |
395 | 395 | ||
396 | module_platform_driver(kirkwood_pcm_driver); | 396 | module_platform_driver(kirkwood_pcm_driver); |
diff --git a/sound/soc/kirkwood/kirkwood-i2s.c b/sound/soc/kirkwood/kirkwood-i2s.c index d3629d5927e9..282d8b1163ba 100644 --- a/sound/soc/kirkwood/kirkwood-i2s.c +++ b/sound/soc/kirkwood/kirkwood-i2s.c | |||
@@ -451,7 +451,7 @@ static struct snd_soc_dai_driver kirkwood_i2s_dai_extclk = { | |||
451 | .ops = &kirkwood_i2s_dai_ops, | 451 | .ops = &kirkwood_i2s_dai_ops, |
452 | }; | 452 | }; |
453 | 453 | ||
454 | static __devinit int kirkwood_i2s_dev_probe(struct platform_device *pdev) | 454 | static int kirkwood_i2s_dev_probe(struct platform_device *pdev) |
455 | { | 455 | { |
456 | struct kirkwood_asoc_platform_data *data = pdev->dev.platform_data; | 456 | struct kirkwood_asoc_platform_data *data = pdev->dev.platform_data; |
457 | struct snd_soc_dai_driver *soc_dai = &kirkwood_i2s_dai; | 457 | struct snd_soc_dai_driver *soc_dai = &kirkwood_i2s_dai; |
@@ -540,7 +540,7 @@ static __devinit int kirkwood_i2s_dev_probe(struct platform_device *pdev) | |||
540 | return err; | 540 | return err; |
541 | } | 541 | } |
542 | 542 | ||
543 | static __devexit int kirkwood_i2s_dev_remove(struct platform_device *pdev) | 543 | static int kirkwood_i2s_dev_remove(struct platform_device *pdev) |
544 | { | 544 | { |
545 | struct kirkwood_dma_data *priv = dev_get_drvdata(&pdev->dev); | 545 | struct kirkwood_dma_data *priv = dev_get_drvdata(&pdev->dev); |
546 | 546 | ||
@@ -557,7 +557,7 @@ static __devexit int kirkwood_i2s_dev_remove(struct platform_device *pdev) | |||
557 | 557 | ||
558 | static struct platform_driver kirkwood_i2s_driver = { | 558 | static struct platform_driver kirkwood_i2s_driver = { |
559 | .probe = kirkwood_i2s_dev_probe, | 559 | .probe = kirkwood_i2s_dev_probe, |
560 | .remove = __devexit_p(kirkwood_i2s_dev_remove), | 560 | .remove = kirkwood_i2s_dev_remove, |
561 | .driver = { | 561 | .driver = { |
562 | .name = DRV_NAME, | 562 | .name = DRV_NAME, |
563 | .owner = THIS_MODULE, | 563 | .owner = THIS_MODULE, |
diff --git a/sound/soc/kirkwood/kirkwood-openrd.c b/sound/soc/kirkwood/kirkwood-openrd.c index c28540aeea25..b979c7154715 100644 --- a/sound/soc/kirkwood/kirkwood-openrd.c +++ b/sound/soc/kirkwood/kirkwood-openrd.c | |||
@@ -71,7 +71,7 @@ static struct snd_soc_card openrd_client = { | |||
71 | .num_links = ARRAY_SIZE(openrd_client_dai), | 71 | .num_links = ARRAY_SIZE(openrd_client_dai), |
72 | }; | 72 | }; |
73 | 73 | ||
74 | static int __devinit openrd_probe(struct platform_device *pdev) | 74 | static int openrd_probe(struct platform_device *pdev) |
75 | { | 75 | { |
76 | struct snd_soc_card *card = &openrd_client; | 76 | struct snd_soc_card *card = &openrd_client; |
77 | int ret; | 77 | int ret; |
@@ -85,7 +85,7 @@ static int __devinit openrd_probe(struct platform_device *pdev) | |||
85 | return ret; | 85 | return ret; |
86 | } | 86 | } |
87 | 87 | ||
88 | static int __devexit openrd_remove(struct platform_device *pdev) | 88 | static int openrd_remove(struct platform_device *pdev) |
89 | { | 89 | { |
90 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 90 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
91 | 91 | ||
@@ -99,7 +99,7 @@ static struct platform_driver openrd_driver = { | |||
99 | .owner = THIS_MODULE, | 99 | .owner = THIS_MODULE, |
100 | }, | 100 | }, |
101 | .probe = openrd_probe, | 101 | .probe = openrd_probe, |
102 | .remove = __devexit_p(openrd_remove), | 102 | .remove = openrd_remove, |
103 | }; | 103 | }; |
104 | 104 | ||
105 | module_platform_driver(openrd_driver); | 105 | module_platform_driver(openrd_driver); |
diff --git a/sound/soc/kirkwood/kirkwood-t5325.c b/sound/soc/kirkwood/kirkwood-t5325.c index c67bbc574987..1d0ed6f8add7 100644 --- a/sound/soc/kirkwood/kirkwood-t5325.c +++ b/sound/soc/kirkwood/kirkwood-t5325.c | |||
@@ -92,7 +92,7 @@ static struct snd_soc_card t5325 = { | |||
92 | .num_dapm_routes = ARRAY_SIZE(t5325_route), | 92 | .num_dapm_routes = ARRAY_SIZE(t5325_route), |
93 | }; | 93 | }; |
94 | 94 | ||
95 | static int __devinit t5325_probe(struct platform_device *pdev) | 95 | static int t5325_probe(struct platform_device *pdev) |
96 | { | 96 | { |
97 | struct snd_soc_card *card = &t5325; | 97 | struct snd_soc_card *card = &t5325; |
98 | int ret; | 98 | int ret; |
@@ -106,7 +106,7 @@ static int __devinit t5325_probe(struct platform_device *pdev) | |||
106 | return ret; | 106 | return ret; |
107 | } | 107 | } |
108 | 108 | ||
109 | static int __devexit t5325_remove(struct platform_device *pdev) | 109 | static int t5325_remove(struct platform_device *pdev) |
110 | { | 110 | { |
111 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 111 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
112 | 112 | ||
@@ -120,7 +120,7 @@ static struct platform_driver t5325_driver = { | |||
120 | .owner = THIS_MODULE, | 120 | .owner = THIS_MODULE, |
121 | }, | 121 | }, |
122 | .probe = t5325_probe, | 122 | .probe = t5325_probe, |
123 | .remove = __devexit_p(t5325_remove), | 123 | .remove = t5325_remove, |
124 | }; | 124 | }; |
125 | 125 | ||
126 | module_platform_driver(t5325_driver); | 126 | module_platform_driver(t5325_driver); |