aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ads117x.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/ads117x.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/ads117x.c')
-rw-r--r--sound/soc/codecs/ads117x.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/ads117x.c b/sound/soc/codecs/ads117x.c
index 8103b938b8c0..506d474c4d22 100644
--- a/sound/soc/codecs/ads117x.c
+++ b/sound/soc/codecs/ads117x.c
@@ -36,13 +36,13 @@ static struct snd_soc_dai_driver ads117x_dai = {
36 36
37static struct snd_soc_codec_driver soc_codec_dev_ads117x; 37static struct snd_soc_codec_driver soc_codec_dev_ads117x;
38 38
39static __devinit int ads117x_probe(struct platform_device *pdev) 39static int ads117x_probe(struct platform_device *pdev)
40{ 40{
41 return snd_soc_register_codec(&pdev->dev, 41 return snd_soc_register_codec(&pdev->dev,
42 &soc_codec_dev_ads117x, &ads117x_dai, 1); 42 &soc_codec_dev_ads117x, &ads117x_dai, 1);
43} 43}
44 44
45static int __devexit ads117x_remove(struct platform_device *pdev) 45static int ads117x_remove(struct platform_device *pdev)
46{ 46{
47 snd_soc_unregister_codec(&pdev->dev); 47 snd_soc_unregister_codec(&pdev->dev);
48 return 0; 48 return 0;
@@ -55,7 +55,7 @@ static struct platform_driver ads117x_codec_driver = {
55 }, 55 },
56 56
57 .probe = ads117x_probe, 57 .probe = ads117x_probe,
58 .remove = __devexit_p(ads117x_remove), 58 .remove = ads117x_remove,
59}; 59};
60 60
61module_platform_driver(ads117x_codec_driver); 61module_platform_driver(ads117x_codec_driver);