aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/pxa
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:17 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:30:34 -0500
commit570f6fe1c35481a2f70f848216978a68b96dc92a (patch)
tree590560643f3f00db45e10207508223b11647a5aa /sound/soc/pxa
parenta0a3d518c33853940936fae5ed579509fe5966eb (diff)
ASoC: pxa: 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> Acked-by: Haojian Zhuang <haojian.zhuang@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/pxa')
-rw-r--r--sound/soc/pxa/brownstone.c6
-rw-r--r--sound/soc/pxa/corgi.c6
-rw-r--r--sound/soc/pxa/e740_wm9705.c6
-rw-r--r--sound/soc/pxa/e750_wm9705.c6
-rw-r--r--sound/soc/pxa/e800_wm9712.c6
-rw-r--r--sound/soc/pxa/imote2.c6
-rw-r--r--sound/soc/pxa/mioa701_wm9713.c6
-rw-r--r--sound/soc/pxa/mmp-pcm.c6
-rw-r--r--sound/soc/pxa/mmp-sspa.c6
-rw-r--r--sound/soc/pxa/palm27x.c4
-rw-r--r--sound/soc/pxa/poodle.c6
-rw-r--r--sound/soc/pxa/pxa-ssp.c6
-rw-r--r--sound/soc/pxa/pxa2xx-ac97.c8
-rw-r--r--sound/soc/pxa/pxa2xx-i2s.c4
-rw-r--r--sound/soc/pxa/pxa2xx-pcm.c6
-rw-r--r--sound/soc/pxa/tosa.c6
-rw-r--r--sound/soc/pxa/ttc-dkb.c6
17 files changed, 50 insertions, 50 deletions
diff --git a/sound/soc/pxa/brownstone.c b/sound/soc/pxa/brownstone.c
index 5e666e03d333..4ad76099dd43 100644
--- a/sound/soc/pxa/brownstone.c
+++ b/sound/soc/pxa/brownstone.c
@@ -140,7 +140,7 @@ static struct snd_soc_card brownstone = {
140 .num_dapm_routes = ARRAY_SIZE(brownstone_audio_map), 140 .num_dapm_routes = ARRAY_SIZE(brownstone_audio_map),
141}; 141};
142 142
143static int __devinit brownstone_probe(struct platform_device *pdev) 143static int brownstone_probe(struct platform_device *pdev)
144{ 144{
145 int ret; 145 int ret;
146 146
@@ -152,7 +152,7 @@ static int __devinit brownstone_probe(struct platform_device *pdev)
152 return ret; 152 return ret;
153} 153}
154 154
155static int __devexit brownstone_remove(struct platform_device *pdev) 155static int brownstone_remove(struct platform_device *pdev)
156{ 156{
157 snd_soc_unregister_card(&brownstone); 157 snd_soc_unregister_card(&brownstone);
158 return 0; 158 return 0;
@@ -164,7 +164,7 @@ static struct platform_driver mmp_driver = {
164 .owner = THIS_MODULE, 164 .owner = THIS_MODULE,
165 }, 165 },
166 .probe = brownstone_probe, 166 .probe = brownstone_probe,
167 .remove = __devexit_p(brownstone_remove), 167 .remove = brownstone_remove,
168}; 168};
169 169
170module_platform_driver(mmp_driver); 170module_platform_driver(mmp_driver);
diff --git a/sound/soc/pxa/corgi.c b/sound/soc/pxa/corgi.c
index 863367ad89ce..f4cce1e80112 100644
--- a/sound/soc/pxa/corgi.c
+++ b/sound/soc/pxa/corgi.c
@@ -303,7 +303,7 @@ static struct snd_soc_card corgi = {
303 .num_dapm_routes = ARRAY_SIZE(corgi_audio_map), 303 .num_dapm_routes = ARRAY_SIZE(corgi_audio_map),
304}; 304};
305 305
306static int __devinit corgi_probe(struct platform_device *pdev) 306static int corgi_probe(struct platform_device *pdev)
307{ 307{
308 struct snd_soc_card *card = &corgi; 308 struct snd_soc_card *card = &corgi;
309 int ret; 309 int ret;
@@ -317,7 +317,7 @@ static int __devinit corgi_probe(struct platform_device *pdev)
317 return ret; 317 return ret;
318} 318}
319 319
320static int __devexit corgi_remove(struct platform_device *pdev) 320static int corgi_remove(struct platform_device *pdev)
321{ 321{
322 struct snd_soc_card *card = platform_get_drvdata(pdev); 322 struct snd_soc_card *card = platform_get_drvdata(pdev);
323 323
@@ -331,7 +331,7 @@ static struct platform_driver corgi_driver = {
331 .owner = THIS_MODULE, 331 .owner = THIS_MODULE,
332 }, 332 },
333 .probe = corgi_probe, 333 .probe = corgi_probe,
334 .remove = __devexit_p(corgi_remove), 334 .remove = corgi_remove,
335}; 335};
336 336
337module_platform_driver(corgi_driver); 337module_platform_driver(corgi_driver);
diff --git a/sound/soc/pxa/e740_wm9705.c b/sound/soc/pxa/e740_wm9705.c
index 7b1bc2390039..70d799b13f0d 100644
--- a/sound/soc/pxa/e740_wm9705.c
+++ b/sound/soc/pxa/e740_wm9705.c
@@ -144,7 +144,7 @@ static struct gpio e740_audio_gpios[] = {
144 { GPIO_E740_WM9705_nAVDD2, GPIOF_OUT_INIT_HIGH, "Audio power" }, 144 { GPIO_E740_WM9705_nAVDD2, GPIOF_OUT_INIT_HIGH, "Audio power" },
145}; 145};
146 146
147static int __devinit e740_probe(struct platform_device *pdev) 147static int e740_probe(struct platform_device *pdev)
148{ 148{
149 struct snd_soc_card *card = &e740; 149 struct snd_soc_card *card = &e740;
150 int ret; 150 int ret;
@@ -165,7 +165,7 @@ static int __devinit e740_probe(struct platform_device *pdev)
165 return ret; 165 return ret;
166} 166}
167 167
168static int __devexit e740_remove(struct platform_device *pdev) 168static int e740_remove(struct platform_device *pdev)
169{ 169{
170 struct snd_soc_card *card = platform_get_drvdata(pdev); 170 struct snd_soc_card *card = platform_get_drvdata(pdev);
171 171
@@ -180,7 +180,7 @@ static struct platform_driver e740_driver = {
180 .owner = THIS_MODULE, 180 .owner = THIS_MODULE,
181 }, 181 },
182 .probe = e740_probe, 182 .probe = e740_probe,
183 .remove = __devexit_p(e740_remove), 183 .remove = e740_remove,
184}; 184};
185 185
186module_platform_driver(e740_driver); 186module_platform_driver(e740_driver);
diff --git a/sound/soc/pxa/e750_wm9705.c b/sound/soc/pxa/e750_wm9705.c
index 47b89d71e287..f94d2ab51351 100644
--- a/sound/soc/pxa/e750_wm9705.c
+++ b/sound/soc/pxa/e750_wm9705.c
@@ -126,7 +126,7 @@ static struct gpio e750_audio_gpios[] = {
126 { GPIO_E750_SPK_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" }, 126 { GPIO_E750_SPK_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" },
127}; 127};
128 128
129static int __devinit e750_probe(struct platform_device *pdev) 129static int e750_probe(struct platform_device *pdev)
130{ 130{
131 struct snd_soc_card *card = &e750; 131 struct snd_soc_card *card = &e750;
132 int ret; 132 int ret;
@@ -147,7 +147,7 @@ static int __devinit e750_probe(struct platform_device *pdev)
147 return ret; 147 return ret;
148} 148}
149 149
150static int __devexit e750_remove(struct platform_device *pdev) 150static int e750_remove(struct platform_device *pdev)
151{ 151{
152 struct snd_soc_card *card = platform_get_drvdata(pdev); 152 struct snd_soc_card *card = platform_get_drvdata(pdev);
153 153
@@ -162,7 +162,7 @@ static struct platform_driver e750_driver = {
162 .owner = THIS_MODULE, 162 .owner = THIS_MODULE,
163 }, 163 },
164 .probe = e750_probe, 164 .probe = e750_probe,
165 .remove = __devexit_p(e750_remove), 165 .remove = e750_remove,
166}; 166};
167 167
168module_platform_driver(e750_driver); 168module_platform_driver(e750_driver);
diff --git a/sound/soc/pxa/e800_wm9712.c b/sound/soc/pxa/e800_wm9712.c
index ea9707ec6f28..8768a640dd71 100644
--- a/sound/soc/pxa/e800_wm9712.c
+++ b/sound/soc/pxa/e800_wm9712.c
@@ -116,7 +116,7 @@ static struct gpio e800_audio_gpios[] = {
116 { GPIO_E800_HP_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" }, 116 { GPIO_E800_HP_AMP_OFF, GPIOF_OUT_INIT_HIGH, "Speaker amp" },
117}; 117};
118 118
119static int __devinit e800_probe(struct platform_device *pdev) 119static int e800_probe(struct platform_device *pdev)
120{ 120{
121 struct snd_soc_card *card = &e800; 121 struct snd_soc_card *card = &e800;
122 int ret; 122 int ret;
@@ -137,7 +137,7 @@ static int __devinit e800_probe(struct platform_device *pdev)
137 return ret; 137 return ret;
138} 138}
139 139
140static int __devexit e800_remove(struct platform_device *pdev) 140static int e800_remove(struct platform_device *pdev)
141{ 141{
142 struct snd_soc_card *card = platform_get_drvdata(pdev); 142 struct snd_soc_card *card = platform_get_drvdata(pdev);
143 143
@@ -152,7 +152,7 @@ static struct platform_driver e800_driver = {
152 .owner = THIS_MODULE, 152 .owner = THIS_MODULE,
153 }, 153 },
154 .probe = e800_probe, 154 .probe = e800_probe,
155 .remove = __devexit_p(e800_remove), 155 .remove = e800_remove,
156}; 156};
157 157
158module_platform_driver(e800_driver); 158module_platform_driver(e800_driver);
diff --git a/sound/soc/pxa/imote2.c b/sound/soc/pxa/imote2.c
index b93dafd32b80..eef1f7b7b38e 100644
--- a/sound/soc/pxa/imote2.c
+++ b/sound/soc/pxa/imote2.c
@@ -65,7 +65,7 @@ static struct snd_soc_card imote2 = {
65 .num_links = 1, 65 .num_links = 1,
66}; 66};
67 67
68static int __devinit imote2_probe(struct platform_device *pdev) 68static int imote2_probe(struct platform_device *pdev)
69{ 69{
70 struct snd_soc_card *card = &imote2; 70 struct snd_soc_card *card = &imote2;
71 int ret; 71 int ret;
@@ -79,7 +79,7 @@ static int __devinit imote2_probe(struct platform_device *pdev)
79 return ret; 79 return ret;
80} 80}
81 81
82static int __devexit imote2_remove(struct platform_device *pdev) 82static int imote2_remove(struct platform_device *pdev)
83{ 83{
84 struct snd_soc_card *card = platform_get_drvdata(pdev); 84 struct snd_soc_card *card = platform_get_drvdata(pdev);
85 85
@@ -93,7 +93,7 @@ static struct platform_driver imote2_driver = {
93 .owner = THIS_MODULE, 93 .owner = THIS_MODULE,
94 }, 94 },
95 .probe = imote2_probe, 95 .probe = imote2_probe,
96 .remove = __devexit_p(imote2_remove), 96 .remove = imote2_remove,
97}; 97};
98 98
99module_platform_driver(imote2_driver); 99module_platform_driver(imote2_driver);
diff --git a/sound/soc/pxa/mioa701_wm9713.c b/sound/soc/pxa/mioa701_wm9713.c
index 8687c1c65d29..97b711e12821 100644
--- a/sound/soc/pxa/mioa701_wm9713.c
+++ b/sound/soc/pxa/mioa701_wm9713.c
@@ -186,7 +186,7 @@ static struct snd_soc_card mioa701 = {
186 .num_links = ARRAY_SIZE(mioa701_dai), 186 .num_links = ARRAY_SIZE(mioa701_dai),
187}; 187};
188 188
189static int __devinit mioa701_wm9713_probe(struct platform_device *pdev) 189static int mioa701_wm9713_probe(struct platform_device *pdev)
190{ 190{
191 int rc; 191 int rc;
192 192
@@ -202,7 +202,7 @@ static int __devinit mioa701_wm9713_probe(struct platform_device *pdev)
202 return rc; 202 return rc;
203} 203}
204 204
205static int __devexit mioa701_wm9713_remove(struct platform_device *pdev) 205static int mioa701_wm9713_remove(struct platform_device *pdev)
206{ 206{
207 struct snd_soc_card *card = platform_get_drvdata(pdev); 207 struct snd_soc_card *card = platform_get_drvdata(pdev);
208 208
@@ -212,7 +212,7 @@ static int __devexit mioa701_wm9713_remove(struct platform_device *pdev)
212 212
213static struct platform_driver mioa701_wm9713_driver = { 213static struct platform_driver mioa701_wm9713_driver = {
214 .probe = mioa701_wm9713_probe, 214 .probe = mioa701_wm9713_probe,
215 .remove = __devexit_p(mioa701_wm9713_remove), 215 .remove = mioa701_wm9713_remove,
216 .driver = { 216 .driver = {
217 .name = "mioa701-wm9713", 217 .name = "mioa701-wm9713",
218 .owner = THIS_MODULE, 218 .owner = THIS_MODULE,
diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c
index e834faf859fd..190eb0bccf5f 100644
--- a/sound/soc/pxa/mmp-pcm.c
+++ b/sound/soc/pxa/mmp-pcm.c
@@ -257,7 +257,7 @@ struct snd_soc_platform_driver mmp_soc_platform = {
257 .pcm_free = mmp_pcm_free_dma_buffers, 257 .pcm_free = mmp_pcm_free_dma_buffers,
258}; 258};
259 259
260static __devinit int mmp_pcm_probe(struct platform_device *pdev) 260static int mmp_pcm_probe(struct platform_device *pdev)
261{ 261{
262 struct mmp_audio_platdata *pdata = pdev->dev.platform_data; 262 struct mmp_audio_platdata *pdata = pdev->dev.platform_data;
263 263
@@ -274,7 +274,7 @@ static __devinit int mmp_pcm_probe(struct platform_device *pdev)
274 return snd_soc_register_platform(&pdev->dev, &mmp_soc_platform); 274 return snd_soc_register_platform(&pdev->dev, &mmp_soc_platform);
275} 275}
276 276
277static int __devexit mmp_pcm_remove(struct platform_device *pdev) 277static int mmp_pcm_remove(struct platform_device *pdev)
278{ 278{
279 snd_soc_unregister_platform(&pdev->dev); 279 snd_soc_unregister_platform(&pdev->dev);
280 return 0; 280 return 0;
@@ -287,7 +287,7 @@ static struct platform_driver mmp_pcm_driver = {
287 }, 287 },
288 288
289 .probe = mmp_pcm_probe, 289 .probe = mmp_pcm_probe,
290 .remove = __devexit_p(mmp_pcm_remove), 290 .remove = mmp_pcm_remove,
291}; 291};
292 292
293module_platform_driver(mmp_pcm_driver); 293module_platform_driver(mmp_pcm_driver);
diff --git a/sound/soc/pxa/mmp-sspa.c b/sound/soc/pxa/mmp-sspa.c
index 4d6cb8a30fc8..41c3a09b53ea 100644
--- a/sound/soc/pxa/mmp-sspa.c
+++ b/sound/soc/pxa/mmp-sspa.c
@@ -405,7 +405,7 @@ struct snd_soc_dai_driver mmp_sspa_dai = {
405 .ops = &mmp_sspa_dai_ops, 405 .ops = &mmp_sspa_dai_ops,
406}; 406};
407 407
408static __devinit int asoc_mmp_sspa_probe(struct platform_device *pdev) 408static int asoc_mmp_sspa_probe(struct platform_device *pdev)
409{ 409{
410 struct sspa_priv *priv; 410 struct sspa_priv *priv;
411 struct resource *res; 411 struct resource *res;
@@ -453,7 +453,7 @@ static __devinit int asoc_mmp_sspa_probe(struct platform_device *pdev)
453 return snd_soc_register_dai(&pdev->dev, &mmp_sspa_dai); 453 return snd_soc_register_dai(&pdev->dev, &mmp_sspa_dai);
454} 454}
455 455
456static int __devexit asoc_mmp_sspa_remove(struct platform_device *pdev) 456static int asoc_mmp_sspa_remove(struct platform_device *pdev)
457{ 457{
458 struct sspa_priv *priv = platform_get_drvdata(pdev); 458 struct sspa_priv *priv = platform_get_drvdata(pdev);
459 459
@@ -470,7 +470,7 @@ static struct platform_driver asoc_mmp_sspa_driver = {
470 .owner = THIS_MODULE, 470 .owner = THIS_MODULE,
471 }, 471 },
472 .probe = asoc_mmp_sspa_probe, 472 .probe = asoc_mmp_sspa_probe,
473 .remove = __devexit_p(asoc_mmp_sspa_remove), 473 .remove = asoc_mmp_sspa_remove,
474}; 474};
475 475
476module_platform_driver(asoc_mmp_sspa_driver); 476module_platform_driver(asoc_mmp_sspa_driver);
diff --git a/sound/soc/pxa/palm27x.c b/sound/soc/pxa/palm27x.c
index aa3da91907c6..2074e2daf9c6 100644
--- a/sound/soc/pxa/palm27x.c
+++ b/sound/soc/pxa/palm27x.c
@@ -187,7 +187,7 @@ put_device:
187 return ret; 187 return ret;
188} 188}
189 189
190static int __devexit palm27x_asoc_remove(struct platform_device *pdev) 190static int palm27x_asoc_remove(struct platform_device *pdev)
191{ 191{
192 platform_device_unregister(palm27x_snd_device); 192 platform_device_unregister(palm27x_snd_device);
193 return 0; 193 return 0;
@@ -195,7 +195,7 @@ static int __devexit palm27x_asoc_remove(struct platform_device *pdev)
195 195
196static struct platform_driver palm27x_wm9712_driver = { 196static struct platform_driver palm27x_wm9712_driver = {
197 .probe = palm27x_asoc_probe, 197 .probe = palm27x_asoc_probe,
198 .remove = __devexit_p(palm27x_asoc_remove), 198 .remove = palm27x_asoc_remove,
199 .driver = { 199 .driver = {
200 .name = "palm27x-asoc", 200 .name = "palm27x-asoc",
201 .owner = THIS_MODULE, 201 .owner = THIS_MODULE,
diff --git a/sound/soc/pxa/poodle.c b/sound/soc/pxa/poodle.c
index d2cc81735036..fafe46355c31 100644
--- a/sound/soc/pxa/poodle.c
+++ b/sound/soc/pxa/poodle.c
@@ -269,7 +269,7 @@ static struct snd_soc_card poodle = {
269 .num_dapm_routes = ARRAY_SIZE(poodle_audio_map), 269 .num_dapm_routes = ARRAY_SIZE(poodle_audio_map),
270}; 270};
271 271
272static int __devinit poodle_probe(struct platform_device *pdev) 272static int poodle_probe(struct platform_device *pdev)
273{ 273{
274 struct snd_soc_card *card = &poodle; 274 struct snd_soc_card *card = &poodle;
275 int ret; 275 int ret;
@@ -291,7 +291,7 @@ static int __devinit poodle_probe(struct platform_device *pdev)
291 return ret; 291 return ret;
292} 292}
293 293
294static int __devexit poodle_remove(struct platform_device *pdev) 294static int poodle_remove(struct platform_device *pdev)
295{ 295{
296 struct snd_soc_card *card = platform_get_drvdata(pdev); 296 struct snd_soc_card *card = platform_get_drvdata(pdev);
297 297
@@ -305,7 +305,7 @@ static struct platform_driver poodle_driver = {
305 .owner = THIS_MODULE, 305 .owner = THIS_MODULE,
306 }, 306 },
307 .probe = poodle_probe, 307 .probe = poodle_probe,
308 .remove = __devexit_p(poodle_remove), 308 .remove = poodle_remove,
309}; 309};
310 310
311module_platform_driver(poodle_driver); 311module_platform_driver(poodle_driver);
diff --git a/sound/soc/pxa/pxa-ssp.c b/sound/soc/pxa/pxa-ssp.c
index 4da5fc55c7ee..d3eb0c2eec77 100644
--- a/sound/soc/pxa/pxa-ssp.c
+++ b/sound/soc/pxa/pxa-ssp.c
@@ -794,12 +794,12 @@ static struct snd_soc_dai_driver pxa_ssp_dai = {
794 .ops = &pxa_ssp_dai_ops, 794 .ops = &pxa_ssp_dai_ops,
795}; 795};
796 796
797static __devinit int asoc_ssp_probe(struct platform_device *pdev) 797static int asoc_ssp_probe(struct platform_device *pdev)
798{ 798{
799 return snd_soc_register_dai(&pdev->dev, &pxa_ssp_dai); 799 return snd_soc_register_dai(&pdev->dev, &pxa_ssp_dai);
800} 800}
801 801
802static int __devexit asoc_ssp_remove(struct platform_device *pdev) 802static int asoc_ssp_remove(struct platform_device *pdev)
803{ 803{
804 snd_soc_unregister_dai(&pdev->dev); 804 snd_soc_unregister_dai(&pdev->dev);
805 return 0; 805 return 0;
@@ -812,7 +812,7 @@ static struct platform_driver asoc_ssp_driver = {
812 }, 812 },
813 813
814 .probe = asoc_ssp_probe, 814 .probe = asoc_ssp_probe,
815 .remove = __devexit_p(asoc_ssp_remove), 815 .remove = asoc_ssp_remove,
816}; 816};
817 817
818module_platform_driver(asoc_ssp_driver); 818module_platform_driver(asoc_ssp_driver);
diff --git a/sound/soc/pxa/pxa2xx-ac97.c b/sound/soc/pxa/pxa2xx-ac97.c
index 06ea2744cc88..4b0a009bd683 100644
--- a/sound/soc/pxa/pxa2xx-ac97.c
+++ b/sound/soc/pxa/pxa2xx-ac97.c
@@ -104,7 +104,7 @@ static int pxa2xx_ac97_resume(struct snd_soc_dai *dai)
104#define pxa2xx_ac97_resume NULL 104#define pxa2xx_ac97_resume NULL
105#endif 105#endif
106 106
107static int __devinit pxa2xx_ac97_probe(struct snd_soc_dai *dai) 107static int pxa2xx_ac97_probe(struct snd_soc_dai *dai)
108{ 108{
109 return pxa2xx_ac97_hw_probe(to_platform_device(dai->dev)); 109 return pxa2xx_ac97_hw_probe(to_platform_device(dai->dev));
110} 110}
@@ -234,7 +234,7 @@ static struct snd_soc_dai_driver pxa_ac97_dai_driver[] = {
234 234
235EXPORT_SYMBOL_GPL(soc_ac97_ops); 235EXPORT_SYMBOL_GPL(soc_ac97_ops);
236 236
237static __devinit int pxa2xx_ac97_dev_probe(struct platform_device *pdev) 237static int pxa2xx_ac97_dev_probe(struct platform_device *pdev)
238{ 238{
239 if (pdev->id != -1) { 239 if (pdev->id != -1) {
240 dev_err(&pdev->dev, "PXA2xx has only one AC97 port.\n"); 240 dev_err(&pdev->dev, "PXA2xx has only one AC97 port.\n");
@@ -249,7 +249,7 @@ static __devinit int pxa2xx_ac97_dev_probe(struct platform_device *pdev)
249 ARRAY_SIZE(pxa_ac97_dai_driver)); 249 ARRAY_SIZE(pxa_ac97_dai_driver));
250} 250}
251 251
252static int __devexit pxa2xx_ac97_dev_remove(struct platform_device *pdev) 252static int pxa2xx_ac97_dev_remove(struct platform_device *pdev)
253{ 253{
254 snd_soc_unregister_dais(&pdev->dev, ARRAY_SIZE(pxa_ac97_dai_driver)); 254 snd_soc_unregister_dais(&pdev->dev, ARRAY_SIZE(pxa_ac97_dai_driver));
255 return 0; 255 return 0;
@@ -257,7 +257,7 @@ static int __devexit pxa2xx_ac97_dev_remove(struct platform_device *pdev)
257 257
258static struct platform_driver pxa2xx_ac97_driver = { 258static struct platform_driver pxa2xx_ac97_driver = {
259 .probe = pxa2xx_ac97_dev_probe, 259 .probe = pxa2xx_ac97_dev_probe,
260 .remove = __devexit_p(pxa2xx_ac97_dev_remove), 260 .remove = pxa2xx_ac97_dev_remove,
261 .driver = { 261 .driver = {
262 .name = "pxa2xx-ac97", 262 .name = "pxa2xx-ac97",
263 .owner = THIS_MODULE, 263 .owner = THIS_MODULE,
diff --git a/sound/soc/pxa/pxa2xx-i2s.c b/sound/soc/pxa/pxa2xx-i2s.c
index 3075a426124c..6b1a06f67564 100644
--- a/sound/soc/pxa/pxa2xx-i2s.c
+++ b/sound/soc/pxa/pxa2xx-i2s.c
@@ -365,7 +365,7 @@ static int pxa2xx_i2s_drv_probe(struct platform_device *pdev)
365 return snd_soc_register_dai(&pdev->dev, &pxa_i2s_dai); 365 return snd_soc_register_dai(&pdev->dev, &pxa_i2s_dai);
366} 366}
367 367
368static int __devexit pxa2xx_i2s_drv_remove(struct platform_device *pdev) 368static int pxa2xx_i2s_drv_remove(struct platform_device *pdev)
369{ 369{
370 snd_soc_unregister_dai(&pdev->dev); 370 snd_soc_unregister_dai(&pdev->dev);
371 return 0; 371 return 0;
@@ -373,7 +373,7 @@ static int __devexit pxa2xx_i2s_drv_remove(struct platform_device *pdev)
373 373
374static struct platform_driver pxa2xx_i2s_driver = { 374static struct platform_driver pxa2xx_i2s_driver = {
375 .probe = pxa2xx_i2s_drv_probe, 375 .probe = pxa2xx_i2s_drv_probe,
376 .remove = __devexit_p(pxa2xx_i2s_drv_remove), 376 .remove = pxa2xx_i2s_drv_remove,
377 377
378 .driver = { 378 .driver = {
379 .name = "pxa2xx-i2s", 379 .name = "pxa2xx-i2s",
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index fdd6bedef9bd..ecff116cb7b0 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -120,12 +120,12 @@ static struct snd_soc_platform_driver pxa2xx_soc_platform = {
120 .pcm_free = pxa2xx_pcm_free_dma_buffers, 120 .pcm_free = pxa2xx_pcm_free_dma_buffers,
121}; 121};
122 122
123static int __devinit pxa2xx_soc_platform_probe(struct platform_device *pdev) 123static int pxa2xx_soc_platform_probe(struct platform_device *pdev)
124{ 124{
125 return snd_soc_register_platform(&pdev->dev, &pxa2xx_soc_platform); 125 return snd_soc_register_platform(&pdev->dev, &pxa2xx_soc_platform);
126} 126}
127 127
128static int __devexit pxa2xx_soc_platform_remove(struct platform_device *pdev) 128static int pxa2xx_soc_platform_remove(struct platform_device *pdev)
129{ 129{
130 snd_soc_unregister_platform(&pdev->dev); 130 snd_soc_unregister_platform(&pdev->dev);
131 return 0; 131 return 0;
@@ -138,7 +138,7 @@ static struct platform_driver pxa_pcm_driver = {
138 }, 138 },
139 139
140 .probe = pxa2xx_soc_platform_probe, 140 .probe = pxa2xx_soc_platform_probe,
141 .remove = __devexit_p(pxa2xx_soc_platform_remove), 141 .remove = pxa2xx_soc_platform_remove,
142}; 142};
143 143
144module_platform_driver(pxa_pcm_driver); 144module_platform_driver(pxa_pcm_driver);
diff --git a/sound/soc/pxa/tosa.c b/sound/soc/pxa/tosa.c
index 2aec63f3706a..a3fe19123f07 100644
--- a/sound/soc/pxa/tosa.c
+++ b/sound/soc/pxa/tosa.c
@@ -241,7 +241,7 @@ static struct snd_soc_card tosa = {
241 .num_links = ARRAY_SIZE(tosa_dai), 241 .num_links = ARRAY_SIZE(tosa_dai),
242}; 242};
243 243
244static int __devinit tosa_probe(struct platform_device *pdev) 244static int tosa_probe(struct platform_device *pdev)
245{ 245{
246 struct snd_soc_card *card = &tosa; 246 struct snd_soc_card *card = &tosa;
247 int ret; 247 int ret;
@@ -262,7 +262,7 @@ static int __devinit tosa_probe(struct platform_device *pdev)
262 return ret; 262 return ret;
263} 263}
264 264
265static int __devexit tosa_remove(struct platform_device *pdev) 265static int tosa_remove(struct platform_device *pdev)
266{ 266{
267 struct snd_soc_card *card = platform_get_drvdata(pdev); 267 struct snd_soc_card *card = platform_get_drvdata(pdev);
268 268
@@ -277,7 +277,7 @@ static struct platform_driver tosa_driver = {
277 .owner = THIS_MODULE, 277 .owner = THIS_MODULE,
278 }, 278 },
279 .probe = tosa_probe, 279 .probe = tosa_probe,
280 .remove = __devexit_p(tosa_remove), 280 .remove = tosa_remove,
281}; 281};
282 282
283module_platform_driver(tosa_driver); 283module_platform_driver(tosa_driver);
diff --git a/sound/soc/pxa/ttc-dkb.c b/sound/soc/pxa/ttc-dkb.c
index 935491a8a770..f4ea4f6663a2 100644
--- a/sound/soc/pxa/ttc-dkb.c
+++ b/sound/soc/pxa/ttc-dkb.c
@@ -131,7 +131,7 @@ static struct snd_soc_card ttc_dkb_card = {
131 .num_dapm_routes = ARRAY_SIZE(ttc_audio_map), 131 .num_dapm_routes = ARRAY_SIZE(ttc_audio_map),
132}; 132};
133 133
134static int __devinit ttc_dkb_probe(struct platform_device *pdev) 134static int ttc_dkb_probe(struct platform_device *pdev)
135{ 135{
136 struct snd_soc_card *card = &ttc_dkb_card; 136 struct snd_soc_card *card = &ttc_dkb_card;
137 int ret; 137 int ret;
@@ -146,7 +146,7 @@ static int __devinit ttc_dkb_probe(struct platform_device *pdev)
146 return ret; 146 return ret;
147} 147}
148 148
149static int __devexit ttc_dkb_remove(struct platform_device *pdev) 149static int ttc_dkb_remove(struct platform_device *pdev)
150{ 150{
151 struct snd_soc_card *card = platform_get_drvdata(pdev); 151 struct snd_soc_card *card = platform_get_drvdata(pdev);
152 152
@@ -161,7 +161,7 @@ static struct platform_driver ttc_dkb_driver = {
161 .owner = THIS_MODULE, 161 .owner = THIS_MODULE,
162 }, 162 },
163 .probe = ttc_dkb_probe, 163 .probe = ttc_dkb_probe,
164 .remove = __devexit_p(ttc_dkb_remove), 164 .remove = ttc_dkb_remove,
165}; 165};
166 166
167module_platform_driver(ttc_dkb_driver); 167module_platform_driver(ttc_dkb_driver);