aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:23 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:31:09 -0500
commit145e2879560e3e99ae46e26f510e3b4a26cc03d4 (patch)
tree4347320aab645131b0c5023748468514eed24206
parent5c658be06175ec1dc8c80c8e28404b729f48df1b (diff)
ASoC: cirrus: 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>
-rw-r--r--sound/soc/cirrus/edb93xx.c6
-rw-r--r--sound/soc/cirrus/ep93xx-ac97.c6
-rw-r--r--sound/soc/cirrus/ep93xx-i2s.c4
-rw-r--r--sound/soc/cirrus/ep93xx-pcm.c6
-rw-r--r--sound/soc/cirrus/simone.c6
-rw-r--r--sound/soc/cirrus/snappercl15.c6
6 files changed, 17 insertions, 17 deletions
diff --git a/sound/soc/cirrus/edb93xx.c b/sound/soc/cirrus/edb93xx.c
index e01cb02abd3a..5db68cf7b281 100644
--- a/sound/soc/cirrus/edb93xx.c
+++ b/sound/soc/cirrus/edb93xx.c
@@ -80,7 +80,7 @@ static struct snd_soc_card snd_soc_edb93xx = {
80 .num_links = 1, 80 .num_links = 1,
81}; 81};
82 82
83static int __devinit edb93xx_probe(struct platform_device *pdev) 83static int edb93xx_probe(struct platform_device *pdev)
84{ 84{
85 struct snd_soc_card *card = &snd_soc_edb93xx; 85 struct snd_soc_card *card = &snd_soc_edb93xx;
86 int ret; 86 int ret;
@@ -101,7 +101,7 @@ static int __devinit edb93xx_probe(struct platform_device *pdev)
101 return ret; 101 return ret;
102} 102}
103 103
104static int __devexit edb93xx_remove(struct platform_device *pdev) 104static int edb93xx_remove(struct platform_device *pdev)
105{ 105{
106 struct snd_soc_card *card = platform_get_drvdata(pdev); 106 struct snd_soc_card *card = platform_get_drvdata(pdev);
107 107
@@ -117,7 +117,7 @@ static struct platform_driver edb93xx_driver = {
117 .owner = THIS_MODULE, 117 .owner = THIS_MODULE,
118 }, 118 },
119 .probe = edb93xx_probe, 119 .probe = edb93xx_probe,
120 .remove = __devexit_p(edb93xx_remove), 120 .remove = edb93xx_remove,
121}; 121};
122 122
123module_platform_driver(edb93xx_driver); 123module_platform_driver(edb93xx_driver);
diff --git a/sound/soc/cirrus/ep93xx-ac97.c b/sound/soc/cirrus/ep93xx-ac97.c
index c3521653cfd3..f3f50e6fd6eb 100644
--- a/sound/soc/cirrus/ep93xx-ac97.c
+++ b/sound/soc/cirrus/ep93xx-ac97.c
@@ -352,7 +352,7 @@ static struct snd_soc_dai_driver ep93xx_ac97_dai = {
352 .ops = &ep93xx_ac97_dai_ops, 352 .ops = &ep93xx_ac97_dai_ops,
353}; 353};
354 354
355static int __devinit ep93xx_ac97_probe(struct platform_device *pdev) 355static int ep93xx_ac97_probe(struct platform_device *pdev)
356{ 356{
357 struct ep93xx_ac97_info *info; 357 struct ep93xx_ac97_info *info;
358 struct resource *res; 358 struct resource *res;
@@ -402,7 +402,7 @@ fail:
402 return ret; 402 return ret;
403} 403}
404 404
405static int __devexit ep93xx_ac97_remove(struct platform_device *pdev) 405static int ep93xx_ac97_remove(struct platform_device *pdev)
406{ 406{
407 struct ep93xx_ac97_info *info = platform_get_drvdata(pdev); 407 struct ep93xx_ac97_info *info = platform_get_drvdata(pdev);
408 408
@@ -420,7 +420,7 @@ static int __devexit ep93xx_ac97_remove(struct platform_device *pdev)
420 420
421static struct platform_driver ep93xx_ac97_driver = { 421static struct platform_driver ep93xx_ac97_driver = {
422 .probe = ep93xx_ac97_probe, 422 .probe = ep93xx_ac97_probe,
423 .remove = __devexit_p(ep93xx_ac97_remove), 423 .remove = ep93xx_ac97_remove,
424 .driver = { 424 .driver = {
425 .name = "ep93xx-ac97", 425 .name = "ep93xx-ac97",
426 .owner = THIS_MODULE, 426 .owner = THIS_MODULE,
diff --git a/sound/soc/cirrus/ep93xx-i2s.c b/sound/soc/cirrus/ep93xx-i2s.c
index ac4a7515e7be..3365d4e843b7 100644
--- a/sound/soc/cirrus/ep93xx-i2s.c
+++ b/sound/soc/cirrus/ep93xx-i2s.c
@@ -422,7 +422,7 @@ fail:
422 return err; 422 return err;
423} 423}
424 424
425static int __devexit ep93xx_i2s_remove(struct platform_device *pdev) 425static int ep93xx_i2s_remove(struct platform_device *pdev)
426{ 426{
427 struct ep93xx_i2s_info *info = dev_get_drvdata(&pdev->dev); 427 struct ep93xx_i2s_info *info = dev_get_drvdata(&pdev->dev);
428 428
@@ -436,7 +436,7 @@ static int __devexit ep93xx_i2s_remove(struct platform_device *pdev)
436 436
437static struct platform_driver ep93xx_i2s_driver = { 437static struct platform_driver ep93xx_i2s_driver = {
438 .probe = ep93xx_i2s_probe, 438 .probe = ep93xx_i2s_probe,
439 .remove = __devexit_p(ep93xx_i2s_remove), 439 .remove = ep93xx_i2s_remove,
440 .driver = { 440 .driver = {
441 .name = "ep93xx-i2s", 441 .name = "ep93xx-i2s",
442 .owner = THIS_MODULE, 442 .owner = THIS_MODULE,
diff --git a/sound/soc/cirrus/ep93xx-pcm.c b/sound/soc/cirrus/ep93xx-pcm.c
index 665d9c94cc17..72eb7a49e16a 100644
--- a/sound/soc/cirrus/ep93xx-pcm.c
+++ b/sound/soc/cirrus/ep93xx-pcm.c
@@ -213,12 +213,12 @@ static struct snd_soc_platform_driver ep93xx_soc_platform = {
213 .pcm_free = &ep93xx_pcm_free_dma_buffers, 213 .pcm_free = &ep93xx_pcm_free_dma_buffers,
214}; 214};
215 215
216static int __devinit ep93xx_soc_platform_probe(struct platform_device *pdev) 216static int ep93xx_soc_platform_probe(struct platform_device *pdev)
217{ 217{
218 return snd_soc_register_platform(&pdev->dev, &ep93xx_soc_platform); 218 return snd_soc_register_platform(&pdev->dev, &ep93xx_soc_platform);
219} 219}
220 220
221static int __devexit ep93xx_soc_platform_remove(struct platform_device *pdev) 221static int ep93xx_soc_platform_remove(struct platform_device *pdev)
222{ 222{
223 snd_soc_unregister_platform(&pdev->dev); 223 snd_soc_unregister_platform(&pdev->dev);
224 return 0; 224 return 0;
@@ -231,7 +231,7 @@ static struct platform_driver ep93xx_pcm_driver = {
231 }, 231 },
232 232
233 .probe = ep93xx_soc_platform_probe, 233 .probe = ep93xx_soc_platform_probe,
234 .remove = __devexit_p(ep93xx_soc_platform_remove), 234 .remove = ep93xx_soc_platform_remove,
235}; 235};
236 236
237module_platform_driver(ep93xx_pcm_driver); 237module_platform_driver(ep93xx_pcm_driver);
diff --git a/sound/soc/cirrus/simone.c b/sound/soc/cirrus/simone.c
index dd997094eb30..a397bb0d8179 100644
--- a/sound/soc/cirrus/simone.c
+++ b/sound/soc/cirrus/simone.c
@@ -41,7 +41,7 @@ static struct snd_soc_card snd_soc_simone = {
41 41
42static struct platform_device *simone_snd_ac97_device; 42static struct platform_device *simone_snd_ac97_device;
43 43
44static int __devinit simone_probe(struct platform_device *pdev) 44static int simone_probe(struct platform_device *pdev)
45{ 45{
46 struct snd_soc_card *card = &snd_soc_simone; 46 struct snd_soc_card *card = &snd_soc_simone;
47 int ret; 47 int ret;
@@ -63,7 +63,7 @@ static int __devinit simone_probe(struct platform_device *pdev)
63 return ret; 63 return ret;
64} 64}
65 65
66static int __devexit simone_remove(struct platform_device *pdev) 66static int simone_remove(struct platform_device *pdev)
67{ 67{
68 struct snd_soc_card *card = platform_get_drvdata(pdev); 68 struct snd_soc_card *card = platform_get_drvdata(pdev);
69 69
@@ -79,7 +79,7 @@ static struct platform_driver simone_driver = {
79 .owner = THIS_MODULE, 79 .owner = THIS_MODULE,
80 }, 80 },
81 .probe = simone_probe, 81 .probe = simone_probe,
82 .remove = __devexit_p(simone_remove), 82 .remove = simone_remove,
83}; 83};
84 84
85module_platform_driver(simone_driver); 85module_platform_driver(simone_driver);
diff --git a/sound/soc/cirrus/snappercl15.c b/sound/soc/cirrus/snappercl15.c
index a193cea3cf3c..9d77fe28dfcc 100644
--- a/sound/soc/cirrus/snappercl15.c
+++ b/sound/soc/cirrus/snappercl15.c
@@ -98,7 +98,7 @@ static struct snd_soc_card snd_soc_snappercl15 = {
98 .num_links = 1, 98 .num_links = 1,
99}; 99};
100 100
101static int __devinit snappercl15_probe(struct platform_device *pdev) 101static int snappercl15_probe(struct platform_device *pdev)
102{ 102{
103 struct snd_soc_card *card = &snd_soc_snappercl15; 103 struct snd_soc_card *card = &snd_soc_snappercl15;
104 int ret; 104 int ret;
@@ -119,7 +119,7 @@ static int __devinit snappercl15_probe(struct platform_device *pdev)
119 return ret; 119 return ret;
120} 120}
121 121
122static int __devexit snappercl15_remove(struct platform_device *pdev) 122static int snappercl15_remove(struct platform_device *pdev)
123{ 123{
124 struct snd_soc_card *card = platform_get_drvdata(pdev); 124 struct snd_soc_card *card = platform_get_drvdata(pdev);
125 125
@@ -135,7 +135,7 @@ static struct platform_driver snappercl15_driver = {
135 .owner = THIS_MODULE, 135 .owner = THIS_MODULE,
136 }, 136 },
137 .probe = snappercl15_probe, 137 .probe = snappercl15_probe,
138 .remove = __devexit_p(snappercl15_remove), 138 .remove = snappercl15_remove,
139}; 139};
140 140
141module_platform_driver(snappercl15_driver); 141module_platform_driver(snappercl15_driver);