diff options
| author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-07 09:26:36 -0500 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:31:48 -0500 |
| commit | e51e97eecdb2a4415aac5f1a69aa66ed787f1217 (patch) | |
| tree | 3a05c18895fb6f7d0e27321b5252b9fefc352a63 | |
| parent | da794876f27c48ba67a6b3295ded27bbd81ba7e4 (diff) | |
ASoC: utils: 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/soc-utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c index 60053709e417..fe4541df498c 100644 --- a/sound/soc/soc-utils.c +++ b/sound/soc/soc-utils.c | |||
| @@ -94,7 +94,7 @@ static struct snd_soc_dai_driver dummy_dai = { | |||
| 94 | .name = "snd-soc-dummy-dai", | 94 | .name = "snd-soc-dummy-dai", |
| 95 | }; | 95 | }; |
| 96 | 96 | ||
| 97 | static __devinit int snd_soc_dummy_probe(struct platform_device *pdev) | 97 | static int snd_soc_dummy_probe(struct platform_device *pdev) |
| 98 | { | 98 | { |
| 99 | int ret; | 99 | int ret; |
| 100 | 100 | ||
| @@ -111,7 +111,7 @@ static __devinit int snd_soc_dummy_probe(struct platform_device *pdev) | |||
| 111 | return ret; | 111 | return ret; |
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | static __devexit int snd_soc_dummy_remove(struct platform_device *pdev) | 114 | static int snd_soc_dummy_remove(struct platform_device *pdev) |
| 115 | { | 115 | { |
| 116 | snd_soc_unregister_platform(&pdev->dev); | 116 | snd_soc_unregister_platform(&pdev->dev); |
| 117 | snd_soc_unregister_codec(&pdev->dev); | 117 | snd_soc_unregister_codec(&pdev->dev); |
| @@ -125,7 +125,7 @@ static struct platform_driver soc_dummy_driver = { | |||
| 125 | .owner = THIS_MODULE, | 125 | .owner = THIS_MODULE, |
| 126 | }, | 126 | }, |
| 127 | .probe = snd_soc_dummy_probe, | 127 | .probe = snd_soc_dummy_probe, |
| 128 | .remove = __devexit_p(snd_soc_dummy_remove), | 128 | .remove = snd_soc_dummy_remove, |
| 129 | }; | 129 | }; |
| 130 | 130 | ||
| 131 | static struct platform_device *soc_dummy_dev; | 131 | static struct platform_device *soc_dummy_dev; |
