diff options
| author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-07 09:26:30 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:31:34 -0500 |
| commit | 9ac8a7122e17ccaaf35714f6d8d91ef2eae0e077 (patch) | |
| tree | 87634bbebee0890139e3b5f55ca0196dae431497 | |
| parent | 7ff6000627eb996d6d02aa5362ecca7b7ac7ebef (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>
| -rw-r--r-- | sound/soc/s6000/s6000-i2s.c | 6 | ||||
| -rw-r--r-- | sound/soc/s6000/s6000-pcm.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sound/soc/s6000/s6000-i2s.c b/sound/soc/s6000/s6000-i2s.c index aaabdbaec19..fee4d477a49 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 | ||
| 439 | static int __devinit s6000_i2s_probe(struct platform_device *pdev) | 439 | static 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 | ||
| 569 | static void __devexit s6000_i2s_remove(struct platform_device *pdev) | 569 | static 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 | ||
| 598 | static struct platform_driver s6000_i2s_driver = { | 598 | static 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 716da861c62..1358c7de252 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 | ||
| 503 | static int __devinit s6000_soc_platform_probe(struct platform_device *pdev) | 503 | static 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 | ||
| 508 | static int __devexit s6000_soc_platform_remove(struct platform_device *pdev) | 508 | static 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 | ||
| 524 | module_platform_driver(s6000_pcm_driver); | 524 | module_platform_driver(s6000_pcm_driver); |
