aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:15 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:30:19 -0500
commitfdca21ad4603200ac39268be3a2b93907a6b85e4 (patch)
treee34a20208bf143b8387490be90841f8be0e25bc3 /sound
parentd7f1be84fb6f622e390d3ea392382aa9a541c087 (diff)
ASoC: Samsung: 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')
-rw-r--r--sound/soc/samsung/ac97.c6
-rw-r--r--sound/soc/samsung/bells.c6
-rw-r--r--sound/soc/samsung/dma.c4
-rw-r--r--sound/soc/samsung/i2s.c9
-rw-r--r--sound/soc/samsung/idma.c6
-rw-r--r--sound/soc/samsung/littlemill.c6
-rw-r--r--sound/soc/samsung/lowland.c6
-rw-r--r--sound/soc/samsung/pcm.c6
-rw-r--r--sound/soc/samsung/s3c2412-i2s.c6
-rw-r--r--sound/soc/samsung/s3c24xx-i2s.c6
-rw-r--r--sound/soc/samsung/s3c24xx_simtec.c6
-rw-r--r--sound/soc/samsung/s3c24xx_simtec_hermes.c4
-rw-r--r--sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c4
-rw-r--r--sound/soc/samsung/smdk_wm8580pcm.c6
-rw-r--r--sound/soc/samsung/smdk_wm8994.c6
-rw-r--r--sound/soc/samsung/smdk_wm8994pcm.c6
-rw-r--r--sound/soc/samsung/spdif.c6
-rw-r--r--sound/soc/samsung/speyside.c6
-rw-r--r--sound/soc/samsung/tobermory.c6
19 files changed, 55 insertions, 56 deletions
diff --git a/sound/soc/samsung/ac97.c b/sound/soc/samsung/ac97.c
index cd6c7073c50d..0df3c5644cfa 100644
--- a/sound/soc/samsung/ac97.c
+++ b/sound/soc/samsung/ac97.c
@@ -370,7 +370,7 @@ static struct snd_soc_dai_driver s3c_ac97_dai[] = {
370 }, 370 },
371}; 371};
372 372
373static __devinit int s3c_ac97_probe(struct platform_device *pdev) 373static int s3c_ac97_probe(struct platform_device *pdev)
374{ 374{
375 struct resource *mem_res, *dmatx_res, *dmarx_res, *dmamic_res, *irq_res; 375 struct resource *mem_res, *dmatx_res, *dmarx_res, *dmamic_res, *irq_res;
376 struct s3c_audio_pdata *ac97_pdata; 376 struct s3c_audio_pdata *ac97_pdata;
@@ -485,7 +485,7 @@ err1:
485 return ret; 485 return ret;
486} 486}
487 487
488static __devexit int s3c_ac97_remove(struct platform_device *pdev) 488static int s3c_ac97_remove(struct platform_device *pdev)
489{ 489{
490 struct resource *mem_res, *irq_res; 490 struct resource *mem_res, *irq_res;
491 491
@@ -510,7 +510,7 @@ static __devexit int s3c_ac97_remove(struct platform_device *pdev)
510 510
511static struct platform_driver s3c_ac97_driver = { 511static struct platform_driver s3c_ac97_driver = {
512 .probe = s3c_ac97_probe, 512 .probe = s3c_ac97_probe,
513 .remove = __devexit_p(s3c_ac97_remove), 513 .remove = s3c_ac97_remove,
514 .driver = { 514 .driver = {
515 .name = "samsung-ac97", 515 .name = "samsung-ac97",
516 .owner = THIS_MODULE, 516 .owner = THIS_MODULE,
diff --git a/sound/soc/samsung/bells.c b/sound/soc/samsung/bells.c
index 01c1c5a2d321..ceed466af9ff 100644
--- a/sound/soc/samsung/bells.c
+++ b/sound/soc/samsung/bells.c
@@ -412,7 +412,7 @@ static struct snd_soc_card bells_cards[] = {
412}; 412};
413 413
414 414
415static __devinit int bells_probe(struct platform_device *pdev) 415static int bells_probe(struct platform_device *pdev)
416{ 416{
417 int ret; 417 int ret;
418 418
@@ -429,7 +429,7 @@ static __devinit int bells_probe(struct platform_device *pdev)
429 return 0; 429 return 0;
430} 430}
431 431
432static int __devexit bells_remove(struct platform_device *pdev) 432static int bells_remove(struct platform_device *pdev)
433{ 433{
434 snd_soc_unregister_card(&bells_cards[pdev->id]); 434 snd_soc_unregister_card(&bells_cards[pdev->id]);
435 435
@@ -443,7 +443,7 @@ static struct platform_driver bells_driver = {
443 .pm = &snd_soc_pm_ops, 443 .pm = &snd_soc_pm_ops,
444 }, 444 },
445 .probe = bells_probe, 445 .probe = bells_probe,
446 .remove = __devexit_p(bells_remove), 446 .remove = bells_remove,
447}; 447};
448 448
449module_platform_driver(bells_driver); 449module_platform_driver(bells_driver);
diff --git a/sound/soc/samsung/dma.c b/sound/soc/samsung/dma.c
index 64529904a95f..db87628d7630 100644
--- a/sound/soc/samsung/dma.c
+++ b/sound/soc/samsung/dma.c
@@ -432,13 +432,13 @@ static struct snd_soc_platform_driver samsung_asoc_platform = {
432 .pcm_free = dma_free_dma_buffers, 432 .pcm_free = dma_free_dma_buffers,
433}; 433};
434 434
435int __devinit asoc_dma_platform_register(struct device *dev) 435int asoc_dma_platform_register(struct device *dev)
436{ 436{
437 return snd_soc_register_platform(dev, &samsung_asoc_platform); 437 return snd_soc_register_platform(dev, &samsung_asoc_platform);
438} 438}
439EXPORT_SYMBOL_GPL(asoc_dma_platform_register); 439EXPORT_SYMBOL_GPL(asoc_dma_platform_register);
440 440
441void __devexit asoc_dma_platform_unregister(struct device *dev) 441void asoc_dma_platform_unregister(struct device *dev)
442{ 442{
443 snd_soc_unregister_platform(dev); 443 snd_soc_unregister_platform(dev);
444} 444}
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index 0aa0451823ce..d2d124f1dd1b 100644
--- a/sound/soc/samsung/i2s.c
+++ b/sound/soc/samsung/i2s.c
@@ -952,8 +952,7 @@ static const struct snd_soc_dai_ops samsung_i2s_dai_ops = {
952 SNDRV_PCM_FMTBIT_S16_LE | \ 952 SNDRV_PCM_FMTBIT_S16_LE | \
953 SNDRV_PCM_FMTBIT_S24_LE) 953 SNDRV_PCM_FMTBIT_S24_LE)
954 954
955static __devinit 955static struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec)
956struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec)
957{ 956{
958 struct i2s_dai *i2s; 957 struct i2s_dai *i2s;
959 958
@@ -994,7 +993,7 @@ struct i2s_dai *i2s_alloc_dai(struct platform_device *pdev, bool sec)
994 return i2s; 993 return i2s;
995} 994}
996 995
997static __devinit int samsung_i2s_probe(struct platform_device *pdev) 996static int samsung_i2s_probe(struct platform_device *pdev)
998{ 997{
999 u32 dma_pl_chan, dma_cp_chan, dma_pl_sec_chan; 998 u32 dma_pl_chan, dma_cp_chan, dma_pl_sec_chan;
1000 struct i2s_dai *pri_dai, *sec_dai = NULL; 999 struct i2s_dai *pri_dai, *sec_dai = NULL;
@@ -1117,7 +1116,7 @@ err:
1117 return ret; 1116 return ret;
1118} 1117}
1119 1118
1120static __devexit int samsung_i2s_remove(struct platform_device *pdev) 1119static int samsung_i2s_remove(struct platform_device *pdev)
1121{ 1120{
1122 struct i2s_dai *i2s, *other; 1121 struct i2s_dai *i2s, *other;
1123 struct resource *res; 1122 struct resource *res;
@@ -1146,7 +1145,7 @@ static __devexit int samsung_i2s_remove(struct platform_device *pdev)
1146 1145
1147static struct platform_driver samsung_i2s_driver = { 1146static struct platform_driver samsung_i2s_driver = {
1148 .probe = samsung_i2s_probe, 1147 .probe = samsung_i2s_probe,
1149 .remove = __devexit_p(samsung_i2s_remove), 1148 .remove = samsung_i2s_remove,
1150 .driver = { 1149 .driver = {
1151 .name = "samsung-i2s", 1150 .name = "samsung-i2s",
1152 .owner = THIS_MODULE, 1151 .owner = THIS_MODULE,
diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c
index c227c3163cae..a07950b0c8ce 100644
--- a/sound/soc/samsung/idma.c
+++ b/sound/soc/samsung/idma.c
@@ -416,12 +416,12 @@ static struct snd_soc_platform_driver asoc_idma_platform = {
416 .pcm_free = idma_free, 416 .pcm_free = idma_free,
417}; 417};
418 418
419static int __devinit asoc_idma_platform_probe(struct platform_device *pdev) 419static int asoc_idma_platform_probe(struct platform_device *pdev)
420{ 420{
421 return snd_soc_register_platform(&pdev->dev, &asoc_idma_platform); 421 return snd_soc_register_platform(&pdev->dev, &asoc_idma_platform);
422} 422}
423 423
424static int __devexit asoc_idma_platform_remove(struct platform_device *pdev) 424static int asoc_idma_platform_remove(struct platform_device *pdev)
425{ 425{
426 snd_soc_unregister_platform(&pdev->dev); 426 snd_soc_unregister_platform(&pdev->dev);
427 return 0; 427 return 0;
@@ -434,7 +434,7 @@ static struct platform_driver asoc_idma_driver = {
434 }, 434 },
435 435
436 .probe = asoc_idma_platform_probe, 436 .probe = asoc_idma_platform_probe,
437 .remove = __devexit_p(asoc_idma_platform_remove), 437 .remove = asoc_idma_platform_remove,
438}; 438};
439 439
440module_platform_driver(asoc_idma_driver); 440module_platform_driver(asoc_idma_driver);
diff --git a/sound/soc/samsung/littlemill.c b/sound/soc/samsung/littlemill.c
index de4cfdf5fdfc..bfb91f34a22a 100644
--- a/sound/soc/samsung/littlemill.c
+++ b/sound/soc/samsung/littlemill.c
@@ -297,7 +297,7 @@ static struct snd_soc_card littlemill = {
297 .late_probe = littlemill_late_probe, 297 .late_probe = littlemill_late_probe,
298}; 298};
299 299
300static __devinit int littlemill_probe(struct platform_device *pdev) 300static int littlemill_probe(struct platform_device *pdev)
301{ 301{
302 struct snd_soc_card *card = &littlemill; 302 struct snd_soc_card *card = &littlemill;
303 int ret; 303 int ret;
@@ -314,7 +314,7 @@ static __devinit int littlemill_probe(struct platform_device *pdev)
314 return 0; 314 return 0;
315} 315}
316 316
317static int __devexit littlemill_remove(struct platform_device *pdev) 317static int littlemill_remove(struct platform_device *pdev)
318{ 318{
319 struct snd_soc_card *card = platform_get_drvdata(pdev); 319 struct snd_soc_card *card = platform_get_drvdata(pdev);
320 320
@@ -330,7 +330,7 @@ static struct platform_driver littlemill_driver = {
330 .pm = &snd_soc_pm_ops, 330 .pm = &snd_soc_pm_ops,
331 }, 331 },
332 .probe = littlemill_probe, 332 .probe = littlemill_probe,
333 .remove = __devexit_p(littlemill_remove), 333 .remove = littlemill_remove,
334}; 334};
335 335
336module_platform_driver(littlemill_driver); 336module_platform_driver(littlemill_driver);
diff --git a/sound/soc/samsung/lowland.c b/sound/soc/samsung/lowland.c
index a71c31af4e0e..570cf5229508 100644
--- a/sound/soc/samsung/lowland.c
+++ b/sound/soc/samsung/lowland.c
@@ -180,7 +180,7 @@ static struct snd_soc_card lowland = {
180 .num_dapm_routes = ARRAY_SIZE(audio_paths), 180 .num_dapm_routes = ARRAY_SIZE(audio_paths),
181}; 181};
182 182
183static __devinit int lowland_probe(struct platform_device *pdev) 183static int lowland_probe(struct platform_device *pdev)
184{ 184{
185 struct snd_soc_card *card = &lowland; 185 struct snd_soc_card *card = &lowland;
186 int ret; 186 int ret;
@@ -197,7 +197,7 @@ static __devinit int lowland_probe(struct platform_device *pdev)
197 return 0; 197 return 0;
198} 198}
199 199
200static int __devexit lowland_remove(struct platform_device *pdev) 200static int lowland_remove(struct platform_device *pdev)
201{ 201{
202 struct snd_soc_card *card = platform_get_drvdata(pdev); 202 struct snd_soc_card *card = platform_get_drvdata(pdev);
203 203
@@ -213,7 +213,7 @@ static struct platform_driver lowland_driver = {
213 .pm = &snd_soc_pm_ops, 213 .pm = &snd_soc_pm_ops,
214 }, 214 },
215 .probe = lowland_probe, 215 .probe = lowland_probe,
216 .remove = __devexit_p(lowland_remove), 216 .remove = lowland_remove,
217}; 217};
218 218
219module_platform_driver(lowland_driver); 219module_platform_driver(lowland_driver);
diff --git a/sound/soc/samsung/pcm.c b/sound/soc/samsung/pcm.c
index ecd509048771..13bab79ad93d 100644
--- a/sound/soc/samsung/pcm.c
+++ b/sound/soc/samsung/pcm.c
@@ -490,7 +490,7 @@ static struct snd_soc_dai_driver s3c_pcm_dai[] = {
490 }, 490 },
491}; 491};
492 492
493static __devinit int s3c_pcm_dev_probe(struct platform_device *pdev) 493static int s3c_pcm_dev_probe(struct platform_device *pdev)
494{ 494{
495 struct s3c_pcm_info *pcm; 495 struct s3c_pcm_info *pcm;
496 struct resource *mem_res, *dmatx_res, *dmarx_res; 496 struct resource *mem_res, *dmatx_res, *dmarx_res;
@@ -613,7 +613,7 @@ err1:
613 return ret; 613 return ret;
614} 614}
615 615
616static __devexit int s3c_pcm_dev_remove(struct platform_device *pdev) 616static int s3c_pcm_dev_remove(struct platform_device *pdev)
617{ 617{
618 struct s3c_pcm_info *pcm = &s3c_pcm[pdev->id]; 618 struct s3c_pcm_info *pcm = &s3c_pcm[pdev->id];
619 struct resource *mem_res; 619 struct resource *mem_res;
@@ -638,7 +638,7 @@ static __devexit int s3c_pcm_dev_remove(struct platform_device *pdev)
638 638
639static struct platform_driver s3c_pcm_driver = { 639static struct platform_driver s3c_pcm_driver = {
640 .probe = s3c_pcm_dev_probe, 640 .probe = s3c_pcm_dev_probe,
641 .remove = __devexit_p(s3c_pcm_dev_remove), 641 .remove = s3c_pcm_dev_remove,
642 .driver = { 642 .driver = {
643 .name = "samsung-pcm", 643 .name = "samsung-pcm",
644 .owner = THIS_MODULE, 644 .owner = THIS_MODULE,
diff --git a/sound/soc/samsung/s3c2412-i2s.c b/sound/soc/samsung/s3c2412-i2s.c
index edf5f527c5a2..221337716393 100644
--- a/sound/soc/samsung/s3c2412-i2s.c
+++ b/sound/soc/samsung/s3c2412-i2s.c
@@ -160,7 +160,7 @@ static struct snd_soc_dai_driver s3c2412_i2s_dai = {
160 .ops = &s3c2412_i2s_dai_ops, 160 .ops = &s3c2412_i2s_dai_ops,
161}; 161};
162 162
163static __devinit int s3c2412_iis_dev_probe(struct platform_device *pdev) 163static int s3c2412_iis_dev_probe(struct platform_device *pdev)
164{ 164{
165 int ret = 0; 165 int ret = 0;
166 166
@@ -182,7 +182,7 @@ err:
182 return ret; 182 return ret;
183} 183}
184 184
185static __devexit int s3c2412_iis_dev_remove(struct platform_device *pdev) 185static int s3c2412_iis_dev_remove(struct platform_device *pdev)
186{ 186{
187 asoc_dma_platform_unregister(&pdev->dev); 187 asoc_dma_platform_unregister(&pdev->dev);
188 snd_soc_unregister_dai(&pdev->dev); 188 snd_soc_unregister_dai(&pdev->dev);
@@ -191,7 +191,7 @@ static __devexit int s3c2412_iis_dev_remove(struct platform_device *pdev)
191 191
192static struct platform_driver s3c2412_iis_driver = { 192static struct platform_driver s3c2412_iis_driver = {
193 .probe = s3c2412_iis_dev_probe, 193 .probe = s3c2412_iis_dev_probe,
194 .remove = __devexit_p(s3c2412_iis_dev_remove), 194 .remove = s3c2412_iis_dev_remove,
195 .driver = { 195 .driver = {
196 .name = "s3c2412-iis", 196 .name = "s3c2412-iis",
197 .owner = THIS_MODULE, 197 .owner = THIS_MODULE,
diff --git a/sound/soc/samsung/s3c24xx-i2s.c b/sound/soc/samsung/s3c24xx-i2s.c
index 0022d51fd160..ee10e8704e97 100644
--- a/sound/soc/samsung/s3c24xx-i2s.c
+++ b/sound/soc/samsung/s3c24xx-i2s.c
@@ -465,7 +465,7 @@ static struct snd_soc_dai_driver s3c24xx_i2s_dai = {
465 .ops = &s3c24xx_i2s_dai_ops, 465 .ops = &s3c24xx_i2s_dai_ops,
466}; 466};
467 467
468static __devinit int s3c24xx_iis_dev_probe(struct platform_device *pdev) 468static int s3c24xx_iis_dev_probe(struct platform_device *pdev)
469{ 469{
470 int ret = 0; 470 int ret = 0;
471 471
@@ -487,7 +487,7 @@ err:
487 return ret; 487 return ret;
488} 488}
489 489
490static __devexit int s3c24xx_iis_dev_remove(struct platform_device *pdev) 490static int s3c24xx_iis_dev_remove(struct platform_device *pdev)
491{ 491{
492 asoc_dma_platform_unregister(&pdev->dev); 492 asoc_dma_platform_unregister(&pdev->dev);
493 snd_soc_unregister_dai(&pdev->dev); 493 snd_soc_unregister_dai(&pdev->dev);
@@ -496,7 +496,7 @@ static __devexit int s3c24xx_iis_dev_remove(struct platform_device *pdev)
496 496
497static struct platform_driver s3c24xx_iis_driver = { 497static struct platform_driver s3c24xx_iis_driver = {
498 .probe = s3c24xx_iis_dev_probe, 498 .probe = s3c24xx_iis_dev_probe,
499 .remove = __devexit_p(s3c24xx_iis_dev_remove), 499 .remove = s3c24xx_iis_dev_remove,
500 .driver = { 500 .driver = {
501 .name = "s3c24xx-iis", 501 .name = "s3c24xx-iis",
502 .owner = THIS_MODULE, 502 .owner = THIS_MODULE,
diff --git a/sound/soc/samsung/s3c24xx_simtec.c b/sound/soc/samsung/s3c24xx_simtec.c
index 335a7d8a4a8d..2c015f62ead6 100644
--- a/sound/soc/samsung/s3c24xx_simtec.c
+++ b/sound/soc/samsung/s3c24xx_simtec.c
@@ -313,8 +313,8 @@ const struct dev_pm_ops simtec_audio_pmops = {
313EXPORT_SYMBOL_GPL(simtec_audio_pmops); 313EXPORT_SYMBOL_GPL(simtec_audio_pmops);
314#endif 314#endif
315 315
316int __devinit simtec_audio_core_probe(struct platform_device *pdev, 316int simtec_audio_core_probe(struct platform_device *pdev,
317 struct snd_soc_card *card) 317 struct snd_soc_card *card)
318{ 318{
319 struct platform_device *snd_dev; 319 struct platform_device *snd_dev;
320 int ret; 320 int ret;
@@ -371,7 +371,7 @@ err_clk:
371} 371}
372EXPORT_SYMBOL_GPL(simtec_audio_core_probe); 372EXPORT_SYMBOL_GPL(simtec_audio_core_probe);
373 373
374int __devexit simtec_audio_remove(struct platform_device *pdev) 374int simtec_audio_remove(struct platform_device *pdev)
375{ 375{
376 struct platform_device *snd_dev = platform_get_drvdata(pdev); 376 struct platform_device *snd_dev = platform_get_drvdata(pdev);
377 377
diff --git a/sound/soc/samsung/s3c24xx_simtec_hermes.c b/sound/soc/samsung/s3c24xx_simtec_hermes.c
index befabe8979f7..d8a0543cae5e 100644
--- a/sound/soc/samsung/s3c24xx_simtec_hermes.c
+++ b/sound/soc/samsung/s3c24xx_simtec_hermes.c
@@ -99,7 +99,7 @@ static struct snd_soc_card snd_soc_machine_simtec_aic33 = {
99 .num_dapm_routes = ARRAY_SIZE(base_map), 99 .num_dapm_routes = ARRAY_SIZE(base_map),
100}; 100};
101 101
102static int __devinit simtec_audio_hermes_probe(struct platform_device *pd) 102static int simtec_audio_hermes_probe(struct platform_device *pd)
103{ 103{
104 dev_info(&pd->dev, "probing....\n"); 104 dev_info(&pd->dev, "probing....\n");
105 return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic33); 105 return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic33);
@@ -112,7 +112,7 @@ static struct platform_driver simtec_audio_hermes_platdrv = {
112 .pm = simtec_audio_pm, 112 .pm = simtec_audio_pm,
113 }, 113 },
114 .probe = simtec_audio_hermes_probe, 114 .probe = simtec_audio_hermes_probe,
115 .remove = __devexit_p(simtec_audio_remove), 115 .remove = simtec_audio_remove,
116}; 116};
117 117
118module_platform_driver(simtec_audio_hermes_platdrv); 118module_platform_driver(simtec_audio_hermes_platdrv);
diff --git a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
index 5552f82c92a7..1ac0d7a63a3a 100644
--- a/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
+++ b/sound/soc/samsung/s3c24xx_simtec_tlv320aic23.c
@@ -88,7 +88,7 @@ static struct snd_soc_card snd_soc_machine_simtec_aic23 = {
88 .num_dapm_routes = ARRAY_SIZE(base_map), 88 .num_dapm_routes = ARRAY_SIZE(base_map),
89}; 89};
90 90
91static int __devinit simtec_audio_tlv320aic23_probe(struct platform_device *pd) 91static int simtec_audio_tlv320aic23_probe(struct platform_device *pd)
92{ 92{
93 return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic23); 93 return simtec_audio_core_probe(pd, &snd_soc_machine_simtec_aic23);
94} 94}
@@ -100,7 +100,7 @@ static struct platform_driver simtec_audio_tlv320aic23_driver = {
100 .pm = simtec_audio_pm, 100 .pm = simtec_audio_pm,
101 }, 101 },
102 .probe = simtec_audio_tlv320aic23_probe, 102 .probe = simtec_audio_tlv320aic23_probe,
103 .remove = __devexit_p(simtec_audio_remove), 103 .remove = simtec_audio_remove,
104}; 104};
105 105
106module_platform_driver(simtec_audio_tlv320aic23_driver); 106module_platform_driver(simtec_audio_tlv320aic23_driver);
diff --git a/sound/soc/samsung/smdk_wm8580pcm.c b/sound/soc/samsung/smdk_wm8580pcm.c
index 34239fe9afde..e43bd4294f99 100644
--- a/sound/soc/samsung/smdk_wm8580pcm.c
+++ b/sound/soc/samsung/smdk_wm8580pcm.c
@@ -153,7 +153,7 @@ static struct snd_soc_card smdk_pcm = {
153 * is absent (or not connected), so we connect EXT_VOICE_CLK(OSC4), 153 * is absent (or not connected), so we connect EXT_VOICE_CLK(OSC4),
154 * 2.0484Mhz, directly with MCLK both Codec and SoC. 154 * 2.0484Mhz, directly with MCLK both Codec and SoC.
155 */ 155 */
156static int __devinit snd_smdk_probe(struct platform_device *pdev) 156static int snd_smdk_probe(struct platform_device *pdev)
157{ 157{
158 int ret = 0; 158 int ret = 0;
159 159
@@ -173,7 +173,7 @@ static int __devinit snd_smdk_probe(struct platform_device *pdev)
173 return 0; 173 return 0;
174} 174}
175 175
176static int __devexit snd_smdk_remove(struct platform_device *pdev) 176static int snd_smdk_remove(struct platform_device *pdev)
177{ 177{
178 snd_soc_unregister_card(&smdk_pcm); 178 snd_soc_unregister_card(&smdk_pcm);
179 platform_set_drvdata(pdev, NULL); 179 platform_set_drvdata(pdev, NULL);
@@ -186,7 +186,7 @@ static struct platform_driver snd_smdk_driver = {
186 .name = "samsung-smdk-pcm", 186 .name = "samsung-smdk-pcm",
187 }, 187 },
188 .probe = snd_smdk_probe, 188 .probe = snd_smdk_probe,
189 .remove = __devexit_p(snd_smdk_remove), 189 .remove = snd_smdk_remove,
190}; 190};
191 191
192module_platform_driver(snd_smdk_driver); 192module_platform_driver(snd_smdk_driver);
diff --git a/sound/soc/samsung/smdk_wm8994.c b/sound/soc/samsung/smdk_wm8994.c
index dd0aa8cb1a9e..b0d0ab8bff5a 100644
--- a/sound/soc/samsung/smdk_wm8994.c
+++ b/sound/soc/samsung/smdk_wm8994.c
@@ -150,7 +150,7 @@ static struct snd_soc_card smdk = {
150}; 150};
151 151
152 152
153static int __devinit smdk_audio_probe(struct platform_device *pdev) 153static int smdk_audio_probe(struct platform_device *pdev)
154{ 154{
155 int ret; 155 int ret;
156 struct snd_soc_card *card = &smdk; 156 struct snd_soc_card *card = &smdk;
@@ -164,7 +164,7 @@ static int __devinit smdk_audio_probe(struct platform_device *pdev)
164 return ret; 164 return ret;
165} 165}
166 166
167static int __devexit smdk_audio_remove(struct platform_device *pdev) 167static int smdk_audio_remove(struct platform_device *pdev)
168{ 168{
169 struct snd_soc_card *card = platform_get_drvdata(pdev); 169 struct snd_soc_card *card = platform_get_drvdata(pdev);
170 170
@@ -179,7 +179,7 @@ static struct platform_driver smdk_audio_driver = {
179 .owner = THIS_MODULE, 179 .owner = THIS_MODULE,
180 }, 180 },
181 .probe = smdk_audio_probe, 181 .probe = smdk_audio_probe,
182 .remove = __devexit_p(smdk_audio_remove), 182 .remove = smdk_audio_remove,
183}; 183};
184 184
185module_platform_driver(smdk_audio_driver); 185module_platform_driver(smdk_audio_driver);
diff --git a/sound/soc/samsung/smdk_wm8994pcm.c b/sound/soc/samsung/smdk_wm8994pcm.c
index 15f6b44e9de3..3688a32000a2 100644
--- a/sound/soc/samsung/smdk_wm8994pcm.c
+++ b/sound/soc/samsung/smdk_wm8994pcm.c
@@ -129,7 +129,7 @@ static struct snd_soc_card smdk_pcm = {
129 .num_links = 1, 129 .num_links = 1,
130}; 130};
131 131
132static int __devinit snd_smdk_probe(struct platform_device *pdev) 132static int snd_smdk_probe(struct platform_device *pdev)
133{ 133{
134 int ret = 0; 134 int ret = 0;
135 135
@@ -143,7 +143,7 @@ static int __devinit snd_smdk_probe(struct platform_device *pdev)
143 return 0; 143 return 0;
144} 144}
145 145
146static int __devexit snd_smdk_remove(struct platform_device *pdev) 146static int snd_smdk_remove(struct platform_device *pdev)
147{ 147{
148 snd_soc_unregister_card(&smdk_pcm); 148 snd_soc_unregister_card(&smdk_pcm);
149 platform_set_drvdata(pdev, NULL); 149 platform_set_drvdata(pdev, NULL);
@@ -156,7 +156,7 @@ static struct platform_driver snd_smdk_driver = {
156 .name = "samsung-smdk-pcm", 156 .name = "samsung-smdk-pcm",
157 }, 157 },
158 .probe = snd_smdk_probe, 158 .probe = snd_smdk_probe,
159 .remove = __devexit_p(snd_smdk_remove), 159 .remove = snd_smdk_remove,
160}; 160};
161 161
162module_platform_driver(snd_smdk_driver); 162module_platform_driver(snd_smdk_driver);
diff --git a/sound/soc/samsung/spdif.c b/sound/soc/samsung/spdif.c
index 8606fc6cb37d..5008e5bd6ed8 100644
--- a/sound/soc/samsung/spdif.c
+++ b/sound/soc/samsung/spdif.c
@@ -357,7 +357,7 @@ static struct snd_soc_dai_driver samsung_spdif_dai = {
357 .resume = spdif_resume, 357 .resume = spdif_resume,
358}; 358};
359 359
360static __devinit int spdif_probe(struct platform_device *pdev) 360static int spdif_probe(struct platform_device *pdev)
361{ 361{
362 struct s3c_audio_pdata *spdif_pdata; 362 struct s3c_audio_pdata *spdif_pdata;
363 struct resource *mem_res, *dma_res; 363 struct resource *mem_res, *dma_res;
@@ -460,7 +460,7 @@ err0:
460 return ret; 460 return ret;
461} 461}
462 462
463static __devexit int spdif_remove(struct platform_device *pdev) 463static int spdif_remove(struct platform_device *pdev)
464{ 464{
465 struct samsung_spdif_info *spdif = &spdif_info; 465 struct samsung_spdif_info *spdif = &spdif_info;
466 struct resource *mem_res; 466 struct resource *mem_res;
@@ -484,7 +484,7 @@ static __devexit int spdif_remove(struct platform_device *pdev)
484 484
485static struct platform_driver samsung_spdif_driver = { 485static struct platform_driver samsung_spdif_driver = {
486 .probe = spdif_probe, 486 .probe = spdif_probe,
487 .remove = __devexit_p(spdif_remove), 487 .remove = spdif_remove,
488 .driver = { 488 .driver = {
489 .name = "samsung-spdif", 489 .name = "samsung-spdif",
490 .owner = THIS_MODULE, 490 .owner = THIS_MODULE,
diff --git a/sound/soc/samsung/speyside.c b/sound/soc/samsung/speyside.c
index d7906a144195..57df90d6b7c1 100644
--- a/sound/soc/samsung/speyside.c
+++ b/sound/soc/samsung/speyside.c
@@ -320,7 +320,7 @@ static struct snd_soc_card speyside = {
320 .late_probe = speyside_late_probe, 320 .late_probe = speyside_late_probe,
321}; 321};
322 322
323static __devinit int speyside_probe(struct platform_device *pdev) 323static int speyside_probe(struct platform_device *pdev)
324{ 324{
325 struct snd_soc_card *card = &speyside; 325 struct snd_soc_card *card = &speyside;
326 int ret; 326 int ret;
@@ -337,7 +337,7 @@ static __devinit int speyside_probe(struct platform_device *pdev)
337 return 0; 337 return 0;
338} 338}
339 339
340static int __devexit speyside_remove(struct platform_device *pdev) 340static int speyside_remove(struct platform_device *pdev)
341{ 341{
342 struct snd_soc_card *card = platform_get_drvdata(pdev); 342 struct snd_soc_card *card = platform_get_drvdata(pdev);
343 343
@@ -353,7 +353,7 @@ static struct platform_driver speyside_driver = {
353 .pm = &snd_soc_pm_ops, 353 .pm = &snd_soc_pm_ops,
354 }, 354 },
355 .probe = speyside_probe, 355 .probe = speyside_probe,
356 .remove = __devexit_p(speyside_remove), 356 .remove = speyside_remove,
357}; 357};
358 358
359module_platform_driver(speyside_driver); 359module_platform_driver(speyside_driver);
diff --git a/sound/soc/samsung/tobermory.c b/sound/soc/samsung/tobermory.c
index 42e4c8e6b03e..f21ff608a819 100644
--- a/sound/soc/samsung/tobermory.c
+++ b/sound/soc/samsung/tobermory.c
@@ -214,7 +214,7 @@ static struct snd_soc_card tobermory = {
214 .late_probe = tobermory_late_probe, 214 .late_probe = tobermory_late_probe,
215}; 215};
216 216
217static __devinit int tobermory_probe(struct platform_device *pdev) 217static int tobermory_probe(struct platform_device *pdev)
218{ 218{
219 struct snd_soc_card *card = &tobermory; 219 struct snd_soc_card *card = &tobermory;
220 int ret; 220 int ret;
@@ -231,7 +231,7 @@ static __devinit int tobermory_probe(struct platform_device *pdev)
231 return 0; 231 return 0;
232} 232}
233 233
234static int __devexit tobermory_remove(struct platform_device *pdev) 234static int tobermory_remove(struct platform_device *pdev)
235{ 235{
236 struct snd_soc_card *card = platform_get_drvdata(pdev); 236 struct snd_soc_card *card = platform_get_drvdata(pdev);
237 237
@@ -247,7 +247,7 @@ static struct platform_driver tobermory_driver = {
247 .pm = &snd_soc_pm_ops, 247 .pm = &snd_soc_pm_ops,
248 }, 248 },
249 .probe = tobermory_probe, 249 .probe = tobermory_probe,
250 .remove = __devexit_p(tobermory_remove), 250 .remove = tobermory_remove,
251}; 251};
252 252
253module_platform_driver(tobermory_driver); 253module_platform_driver(tobermory_driver);