aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:30 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:31:34 -0500
commit9ac8a7122e17ccaaf35714f6d8d91ef2eae0e077 (patch)
tree87634bbebee0890139e3b5f55ca0196dae431497 /sound/soc
parent7ff6000627eb996d6d02aa5362ecca7b7ac7ebef (diff)
ASoC: s6000: 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/s6000/s6000-i2s.c6
-rw-r--r--sound/soc/s6000/s6000-pcm.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/s6000/s6000-i2s.c b/sound/soc/s6000/s6000-i2s.c
index aaabdbaec19c..fee4d477a49c 100644
--- a/sound/soc/s6000/s6000-i2s.c
+++ b/sound/soc/s6000/s6000-i2s.c
@@ -436,7 +436,7 @@ static struct snd_soc_dai_driver s6000_i2s_dai = {
436 .ops = &s6000_i2s_dai_ops, 436 .ops = &s6000_i2s_dai_ops,
437}; 437};
438 438
439static int __devinit s6000_i2s_probe(struct platform_device *pdev) 439static int s6000_i2s_probe(struct platform_device *pdev)
440{ 440{
441 struct s6000_i2s_dev *dev; 441 struct s6000_i2s_dev *dev;
442 struct resource *scbmem, *sifmem, *region, *dma1, *dma2; 442 struct resource *scbmem, *sifmem, *region, *dma1, *dma2;
@@ -566,7 +566,7 @@ err_release_none:
566 return ret; 566 return ret;
567} 567}
568 568
569static void __devexit s6000_i2s_remove(struct platform_device *pdev) 569static void s6000_i2s_remove(struct platform_device *pdev)
570{ 570{
571 struct s6000_i2s_dev *dev = dev_get_drvdata(&pdev->dev); 571 struct s6000_i2s_dev *dev = dev_get_drvdata(&pdev->dev);
572 struct resource *region; 572 struct resource *region;
@@ -597,7 +597,7 @@ static void __devexit s6000_i2s_remove(struct platform_device *pdev)
597 597
598static struct platform_driver s6000_i2s_driver = { 598static struct platform_driver s6000_i2s_driver = {
599 .probe = s6000_i2s_probe, 599 .probe = s6000_i2s_probe,
600 .remove = __devexit_p(s6000_i2s_remove), 600 .remove = s6000_i2s_remove,
601 .driver = { 601 .driver = {
602 .name = "s6000-i2s", 602 .name = "s6000-i2s",
603 .owner = THIS_MODULE, 603 .owner = THIS_MODULE,
diff --git a/sound/soc/s6000/s6000-pcm.c b/sound/soc/s6000/s6000-pcm.c
index 716da861c629..1358c7de2521 100644
--- a/sound/soc/s6000/s6000-pcm.c
+++ b/sound/soc/s6000/s6000-pcm.c
@@ -500,12 +500,12 @@ static struct snd_soc_platform_driver s6000_soc_platform = {
500 .pcm_free = s6000_pcm_free, 500 .pcm_free = s6000_pcm_free,
501}; 501};
502 502
503static int __devinit s6000_soc_platform_probe(struct platform_device *pdev) 503static int s6000_soc_platform_probe(struct platform_device *pdev)
504{ 504{
505 return snd_soc_register_platform(&pdev->dev, &s6000_soc_platform); 505 return snd_soc_register_platform(&pdev->dev, &s6000_soc_platform);
506} 506}
507 507
508static int __devexit s6000_soc_platform_remove(struct platform_device *pdev) 508static int s6000_soc_platform_remove(struct platform_device *pdev)
509{ 509{
510 snd_soc_unregister_platform(&pdev->dev); 510 snd_soc_unregister_platform(&pdev->dev);
511 return 0; 511 return 0;
@@ -518,7 +518,7 @@ static struct platform_driver s6000_pcm_driver = {
518 }, 518 },
519 519
520 .probe = s6000_soc_platform_probe, 520 .probe = s6000_soc_platform_probe,
521 .remove = __devexit_p(s6000_soc_platform_remove), 521 .remove = s6000_soc_platform_remove,
522}; 522};
523 523
524module_platform_driver(s6000_pcm_driver); 524module_platform_driver(s6000_pcm_driver);