aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ac97.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:37 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:31:51 -0500
commit7a79e94e973639da7bf1b8242d504f9db9e5e848 (patch)
tree2bae8c8a5e1b350e2df0dbd6a80eff2dcc943ee1 /sound/soc/codecs/ac97.c
parente51e97eecdb2a4415aac5f1a69aa66ed787f1217 (diff)
ASoC: codecs: 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/codecs/ac97.c')
-rw-r--r--sound/soc/codecs/ac97.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/ac97.c b/sound/soc/codecs/ac97.c
index ea06b834a7de..ef2ae32ffc66 100644
--- a/sound/soc/codecs/ac97.c
+++ b/sound/soc/codecs/ac97.c
@@ -118,13 +118,13 @@ static struct snd_soc_codec_driver soc_codec_dev_ac97 = {
118 .resume = ac97_soc_resume, 118 .resume = ac97_soc_resume,
119}; 119};
120 120
121static __devinit int ac97_probe(struct platform_device *pdev) 121static int ac97_probe(struct platform_device *pdev)
122{ 122{
123 return snd_soc_register_codec(&pdev->dev, 123 return snd_soc_register_codec(&pdev->dev,
124 &soc_codec_dev_ac97, &ac97_dai, 1); 124 &soc_codec_dev_ac97, &ac97_dai, 1);
125} 125}
126 126
127static int __devexit ac97_remove(struct platform_device *pdev) 127static int ac97_remove(struct platform_device *pdev)
128{ 128{
129 snd_soc_unregister_codec(&pdev->dev); 129 snd_soc_unregister_codec(&pdev->dev);
130 return 0; 130 return 0;
@@ -137,7 +137,7 @@ static struct platform_driver ac97_codec_driver = {
137 }, 137 },
138 138
139 .probe = ac97_probe, 139 .probe = ac97_probe,
140 .remove = __devexit_p(ac97_remove), 140 .remove = ac97_remove,
141}; 141};
142 142
143module_platform_driver(ac97_codec_driver); 143module_platform_driver(ac97_codec_driver);