aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/ac97.c
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2013-01-29 04:48:30 -0500
committerJiri Kosina <jkosina@suse.cz>2013-01-29 04:48:30 -0500
commit617677295b53a40d0e54aac4cbbc216ffbc755dd (patch)
tree51b9e87213243ed5efff252c8e8d8fec4eebc588 /sound/soc/codecs/ac97.c
parent5c8d1b68e01a144813e38795fe6dbe7ebb506131 (diff)
parent6abb7c25775b7fb2225ad0508236d63ca710e65f (diff)
Merge branch 'master' into for-next
Conflicts: drivers/devfreq/exynos4_bus.c Sync with Linus' tree to be able to apply patches that are against newer code (mvneta).
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);