diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-07 09:26:16 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:30:25 -0500 |
commit | a0a3d518c33853940936fae5ed579509fe5966eb (patch) | |
tree | e3ba6258704ee8e4597e04246fa9aa3995e20a73 /sound/soc | |
parent | fdca21ad4603200ac39268be3a2b93907a6b85e4 (diff) |
ASoC: fsl: 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')
-rw-r--r-- | sound/soc/fsl/eukrea-tlv320.c | 6 | ||||
-rw-r--r-- | sound/soc/fsl/fsl_dma.c | 6 | ||||
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 2 | ||||
-rw-r--r-- | sound/soc/fsl/imx-audmux.c | 8 | ||||
-rw-r--r-- | sound/soc/fsl/imx-mc13783.c | 6 | ||||
-rw-r--r-- | sound/soc/fsl/imx-pcm-dma.c | 6 | ||||
-rw-r--r-- | sound/soc/fsl/imx-pcm-fiq.c | 6 | ||||
-rw-r--r-- | sound/soc/fsl/imx-sgtl5000.c | 6 | ||||
-rw-r--r-- | sound/soc/fsl/imx-ssi.c | 4 | ||||
-rw-r--r-- | sound/soc/fsl/mpc5200_psc_ac97.c | 8 | ||||
-rw-r--r-- | sound/soc/fsl/mpc5200_psc_i2s.c | 8 | ||||
-rw-r--r-- | sound/soc/fsl/mpc8610_hpcd.c | 4 | ||||
-rw-r--r-- | sound/soc/fsl/mx27vis-aic32x4.c | 6 | ||||
-rw-r--r-- | sound/soc/fsl/p1022_ds.c | 4 | ||||
-rw-r--r-- | sound/soc/fsl/p1022_rdk.c | 4 | ||||
-rw-r--r-- | sound/soc/fsl/pcm030-audio-fabric.c | 4 |
16 files changed, 44 insertions, 44 deletions
diff --git a/sound/soc/fsl/eukrea-tlv320.c b/sound/soc/fsl/eukrea-tlv320.c index 267d5b4b63ce..75ffdf0e2aad 100644 --- a/sound/soc/fsl/eukrea-tlv320.c +++ b/sound/soc/fsl/eukrea-tlv320.c | |||
@@ -93,7 +93,7 @@ static struct snd_soc_card eukrea_tlv320 = { | |||
93 | .num_links = 1, | 93 | .num_links = 1, |
94 | }; | 94 | }; |
95 | 95 | ||
96 | static int __devinit eukrea_tlv320_probe(struct platform_device *pdev) | 96 | static int eukrea_tlv320_probe(struct platform_device *pdev) |
97 | { | 97 | { |
98 | int ret; | 98 | int ret; |
99 | int int_port = 0, ext_port; | 99 | int int_port = 0, ext_port; |
@@ -142,7 +142,7 @@ static int __devinit eukrea_tlv320_probe(struct platform_device *pdev) | |||
142 | return ret; | 142 | return ret; |
143 | } | 143 | } |
144 | 144 | ||
145 | static int __devexit eukrea_tlv320_remove(struct platform_device *pdev) | 145 | static int eukrea_tlv320_remove(struct platform_device *pdev) |
146 | { | 146 | { |
147 | snd_soc_unregister_card(&eukrea_tlv320); | 147 | snd_soc_unregister_card(&eukrea_tlv320); |
148 | 148 | ||
@@ -155,7 +155,7 @@ static struct platform_driver eukrea_tlv320_driver = { | |||
155 | .owner = THIS_MODULE, | 155 | .owner = THIS_MODULE, |
156 | }, | 156 | }, |
157 | .probe = eukrea_tlv320_probe, | 157 | .probe = eukrea_tlv320_probe, |
158 | .remove = __devexit_p(eukrea_tlv320_remove),}; | 158 | .remove = eukrea_tlv320_remove,}; |
159 | 159 | ||
160 | module_platform_driver(eukrea_tlv320_driver); | 160 | module_platform_driver(eukrea_tlv320_driver); |
161 | 161 | ||
diff --git a/sound/soc/fsl/fsl_dma.c b/sound/soc/fsl/fsl_dma.c index 6feb26500580..9cc5c1f82f09 100644 --- a/sound/soc/fsl/fsl_dma.c +++ b/sound/soc/fsl/fsl_dma.c | |||
@@ -894,7 +894,7 @@ static struct snd_pcm_ops fsl_dma_ops = { | |||
894 | .pointer = fsl_dma_pointer, | 894 | .pointer = fsl_dma_pointer, |
895 | }; | 895 | }; |
896 | 896 | ||
897 | static int __devinit fsl_soc_dma_probe(struct platform_device *pdev) | 897 | static int fsl_soc_dma_probe(struct platform_device *pdev) |
898 | { | 898 | { |
899 | struct dma_object *dma; | 899 | struct dma_object *dma; |
900 | struct device_node *np = pdev->dev.of_node; | 900 | struct device_node *np = pdev->dev.of_node; |
@@ -958,7 +958,7 @@ static int __devinit fsl_soc_dma_probe(struct platform_device *pdev) | |||
958 | return 0; | 958 | return 0; |
959 | } | 959 | } |
960 | 960 | ||
961 | static int __devexit fsl_soc_dma_remove(struct platform_device *pdev) | 961 | static int fsl_soc_dma_remove(struct platform_device *pdev) |
962 | { | 962 | { |
963 | struct dma_object *dma = dev_get_drvdata(&pdev->dev); | 963 | struct dma_object *dma = dev_get_drvdata(&pdev->dev); |
964 | 964 | ||
@@ -983,7 +983,7 @@ static struct platform_driver fsl_soc_dma_driver = { | |||
983 | .of_match_table = fsl_soc_dma_ids, | 983 | .of_match_table = fsl_soc_dma_ids, |
984 | }, | 984 | }, |
985 | .probe = fsl_soc_dma_probe, | 985 | .probe = fsl_soc_dma_probe, |
986 | .remove = __devexit_p(fsl_soc_dma_remove), | 986 | .remove = fsl_soc_dma_remove, |
987 | }; | 987 | }; |
988 | 988 | ||
989 | module_platform_driver(fsl_soc_dma_driver); | 989 | module_platform_driver(fsl_soc_dma_driver); |
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 4ed2afd47782..7decbd9b2340 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -639,7 +639,7 @@ static void make_lowercase(char *s) | |||
639 | } | 639 | } |
640 | } | 640 | } |
641 | 641 | ||
642 | static int __devinit fsl_ssi_probe(struct platform_device *pdev) | 642 | static int fsl_ssi_probe(struct platform_device *pdev) |
643 | { | 643 | { |
644 | struct fsl_ssi_private *ssi_private; | 644 | struct fsl_ssi_private *ssi_private; |
645 | int ret = 0; | 645 | int ret = 0; |
diff --git a/sound/soc/fsl/imx-audmux.c b/sound/soc/fsl/imx-audmux.c index 524ce6210cee..251f4d981e0c 100644 --- a/sound/soc/fsl/imx-audmux.c +++ b/sound/soc/fsl/imx-audmux.c | |||
@@ -162,7 +162,7 @@ static void __init audmux_debugfs_init(void) | |||
162 | } | 162 | } |
163 | } | 163 | } |
164 | 164 | ||
165 | static void __devexit audmux_debugfs_remove(void) | 165 | static void audmux_debugfs_remove(void) |
166 | { | 166 | { |
167 | debugfs_remove_recursive(audmux_debugfs_root); | 167 | debugfs_remove_recursive(audmux_debugfs_root); |
168 | } | 168 | } |
@@ -244,7 +244,7 @@ int imx_audmux_v2_configure_port(unsigned int port, unsigned int ptcr, | |||
244 | } | 244 | } |
245 | EXPORT_SYMBOL_GPL(imx_audmux_v2_configure_port); | 245 | EXPORT_SYMBOL_GPL(imx_audmux_v2_configure_port); |
246 | 246 | ||
247 | static int __devinit imx_audmux_probe(struct platform_device *pdev) | 247 | static int imx_audmux_probe(struct platform_device *pdev) |
248 | { | 248 | { |
249 | struct resource *res; | 249 | struct resource *res; |
250 | struct pinctrl *pinctrl; | 250 | struct pinctrl *pinctrl; |
@@ -278,7 +278,7 @@ static int __devinit imx_audmux_probe(struct platform_device *pdev) | |||
278 | return 0; | 278 | return 0; |
279 | } | 279 | } |
280 | 280 | ||
281 | static int __devexit imx_audmux_remove(struct platform_device *pdev) | 281 | static int imx_audmux_remove(struct platform_device *pdev) |
282 | { | 282 | { |
283 | if (audmux_type == IMX31_AUDMUX) | 283 | if (audmux_type == IMX31_AUDMUX) |
284 | audmux_debugfs_remove(); | 284 | audmux_debugfs_remove(); |
@@ -289,7 +289,7 @@ static int __devexit imx_audmux_remove(struct platform_device *pdev) | |||
289 | 289 | ||
290 | static struct platform_driver imx_audmux_driver = { | 290 | static struct platform_driver imx_audmux_driver = { |
291 | .probe = imx_audmux_probe, | 291 | .probe = imx_audmux_probe, |
292 | .remove = __devexit_p(imx_audmux_remove), | 292 | .remove = imx_audmux_remove, |
293 | .id_table = imx_audmux_ids, | 293 | .id_table = imx_audmux_ids, |
294 | .driver = { | 294 | .driver = { |
295 | .name = DRIVER_NAME, | 295 | .name = DRIVER_NAME, |
diff --git a/sound/soc/fsl/imx-mc13783.c b/sound/soc/fsl/imx-mc13783.c index 549b31fdc9dd..4ae30f21fdb5 100644 --- a/sound/soc/fsl/imx-mc13783.c +++ b/sound/soc/fsl/imx-mc13783.c | |||
@@ -98,7 +98,7 @@ static struct snd_soc_card imx_mc13783 = { | |||
98 | .num_dapm_routes = ARRAY_SIZE(imx_mc13783_routes), | 98 | .num_dapm_routes = ARRAY_SIZE(imx_mc13783_routes), |
99 | }; | 99 | }; |
100 | 100 | ||
101 | static int __devinit imx_mc13783_probe(struct platform_device *pdev) | 101 | static int imx_mc13783_probe(struct platform_device *pdev) |
102 | { | 102 | { |
103 | int ret; | 103 | int ret; |
104 | 104 | ||
@@ -148,7 +148,7 @@ static int __devinit imx_mc13783_probe(struct platform_device *pdev) | |||
148 | return ret; | 148 | return ret; |
149 | } | 149 | } |
150 | 150 | ||
151 | static int __devexit imx_mc13783_remove(struct platform_device *pdev) | 151 | static int imx_mc13783_remove(struct platform_device *pdev) |
152 | { | 152 | { |
153 | snd_soc_unregister_card(&imx_mc13783); | 153 | snd_soc_unregister_card(&imx_mc13783); |
154 | 154 | ||
@@ -161,7 +161,7 @@ static struct platform_driver imx_mc13783_audio_driver = { | |||
161 | .owner = THIS_MODULE, | 161 | .owner = THIS_MODULE, |
162 | }, | 162 | }, |
163 | .probe = imx_mc13783_probe, | 163 | .probe = imx_mc13783_probe, |
164 | .remove = __devexit_p(imx_mc13783_remove) | 164 | .remove = imx_mc13783_remove |
165 | }; | 165 | }; |
166 | 166 | ||
167 | module_platform_driver(imx_mc13783_audio_driver); | 167 | module_platform_driver(imx_mc13783_audio_driver); |
diff --git a/sound/soc/fsl/imx-pcm-dma.c b/sound/soc/fsl/imx-pcm-dma.c index d85929b79c35..bf363d8d044a 100644 --- a/sound/soc/fsl/imx-pcm-dma.c +++ b/sound/soc/fsl/imx-pcm-dma.c | |||
@@ -154,12 +154,12 @@ static struct snd_soc_platform_driver imx_soc_platform_mx2 = { | |||
154 | .pcm_free = imx_pcm_free, | 154 | .pcm_free = imx_pcm_free, |
155 | }; | 155 | }; |
156 | 156 | ||
157 | static int __devinit imx_soc_platform_probe(struct platform_device *pdev) | 157 | static int imx_soc_platform_probe(struct platform_device *pdev) |
158 | { | 158 | { |
159 | return snd_soc_register_platform(&pdev->dev, &imx_soc_platform_mx2); | 159 | return snd_soc_register_platform(&pdev->dev, &imx_soc_platform_mx2); |
160 | } | 160 | } |
161 | 161 | ||
162 | static int __devexit imx_soc_platform_remove(struct platform_device *pdev) | 162 | static int imx_soc_platform_remove(struct platform_device *pdev) |
163 | { | 163 | { |
164 | snd_soc_unregister_platform(&pdev->dev); | 164 | snd_soc_unregister_platform(&pdev->dev); |
165 | return 0; | 165 | return 0; |
@@ -171,7 +171,7 @@ static struct platform_driver imx_pcm_driver = { | |||
171 | .owner = THIS_MODULE, | 171 | .owner = THIS_MODULE, |
172 | }, | 172 | }, |
173 | .probe = imx_soc_platform_probe, | 173 | .probe = imx_soc_platform_probe, |
174 | .remove = __devexit_p(imx_soc_platform_remove), | 174 | .remove = imx_soc_platform_remove, |
175 | }; | 175 | }; |
176 | 176 | ||
177 | module_platform_driver(imx_pcm_driver); | 177 | module_platform_driver(imx_pcm_driver); |
diff --git a/sound/soc/fsl/imx-pcm-fiq.c b/sound/soc/fsl/imx-pcm-fiq.c index 22c6130957ba..713bd79428a9 100644 --- a/sound/soc/fsl/imx-pcm-fiq.c +++ b/sound/soc/fsl/imx-pcm-fiq.c | |||
@@ -282,7 +282,7 @@ static struct snd_soc_platform_driver imx_soc_platform_fiq = { | |||
282 | .pcm_free = imx_pcm_fiq_free, | 282 | .pcm_free = imx_pcm_fiq_free, |
283 | }; | 283 | }; |
284 | 284 | ||
285 | static int __devinit imx_soc_platform_probe(struct platform_device *pdev) | 285 | static int imx_soc_platform_probe(struct platform_device *pdev) |
286 | { | 286 | { |
287 | struct imx_ssi *ssi = platform_get_drvdata(pdev); | 287 | struct imx_ssi *ssi = platform_get_drvdata(pdev); |
288 | int ret; | 288 | int ret; |
@@ -316,7 +316,7 @@ failed_register: | |||
316 | return ret; | 316 | return ret; |
317 | } | 317 | } |
318 | 318 | ||
319 | static int __devexit imx_soc_platform_remove(struct platform_device *pdev) | 319 | static int imx_soc_platform_remove(struct platform_device *pdev) |
320 | { | 320 | { |
321 | snd_soc_unregister_platform(&pdev->dev); | 321 | snd_soc_unregister_platform(&pdev->dev); |
322 | return 0; | 322 | return 0; |
@@ -329,7 +329,7 @@ static struct platform_driver imx_pcm_driver = { | |||
329 | }, | 329 | }, |
330 | 330 | ||
331 | .probe = imx_soc_platform_probe, | 331 | .probe = imx_soc_platform_probe, |
332 | .remove = __devexit_p(imx_soc_platform_remove), | 332 | .remove = imx_soc_platform_remove, |
333 | }; | 333 | }; |
334 | 334 | ||
335 | module_platform_driver(imx_pcm_driver); | 335 | module_platform_driver(imx_pcm_driver); |
diff --git a/sound/soc/fsl/imx-sgtl5000.c b/sound/soc/fsl/imx-sgtl5000.c index 3d9b1c427ce9..424347e9b2d7 100644 --- a/sound/soc/fsl/imx-sgtl5000.c +++ b/sound/soc/fsl/imx-sgtl5000.c | |||
@@ -56,7 +56,7 @@ static const struct snd_soc_dapm_widget imx_sgtl5000_dapm_widgets[] = { | |||
56 | SND_SOC_DAPM_SPK("Ext Spk", NULL), | 56 | SND_SOC_DAPM_SPK("Ext Spk", NULL), |
57 | }; | 57 | }; |
58 | 58 | ||
59 | static int __devinit imx_sgtl5000_probe(struct platform_device *pdev) | 59 | static int imx_sgtl5000_probe(struct platform_device *pdev) |
60 | { | 60 | { |
61 | struct device_node *np = pdev->dev.of_node; | 61 | struct device_node *np = pdev->dev.of_node; |
62 | struct device_node *ssi_np, *codec_np; | 62 | struct device_node *ssi_np, *codec_np; |
@@ -185,7 +185,7 @@ fail: | |||
185 | return ret; | 185 | return ret; |
186 | } | 186 | } |
187 | 187 | ||
188 | static int __devexit imx_sgtl5000_remove(struct platform_device *pdev) | 188 | static int imx_sgtl5000_remove(struct platform_device *pdev) |
189 | { | 189 | { |
190 | struct imx_sgtl5000_data *data = platform_get_drvdata(pdev); | 190 | struct imx_sgtl5000_data *data = platform_get_drvdata(pdev); |
191 | 191 | ||
@@ -211,7 +211,7 @@ static struct platform_driver imx_sgtl5000_driver = { | |||
211 | .of_match_table = imx_sgtl5000_dt_ids, | 211 | .of_match_table = imx_sgtl5000_dt_ids, |
212 | }, | 212 | }, |
213 | .probe = imx_sgtl5000_probe, | 213 | .probe = imx_sgtl5000_probe, |
214 | .remove = __devexit_p(imx_sgtl5000_remove), | 214 | .remove = imx_sgtl5000_remove, |
215 | }; | 215 | }; |
216 | module_platform_driver(imx_sgtl5000_driver); | 216 | module_platform_driver(imx_sgtl5000_driver); |
217 | 217 | ||
diff --git a/sound/soc/fsl/imx-ssi.c b/sound/soc/fsl/imx-ssi.c index 006f7d465ed2..2c8d89eecdcf 100644 --- a/sound/soc/fsl/imx-ssi.c +++ b/sound/soc/fsl/imx-ssi.c | |||
@@ -639,7 +639,7 @@ failed_clk: | |||
639 | return ret; | 639 | return ret; |
640 | } | 640 | } |
641 | 641 | ||
642 | static int __devexit imx_ssi_remove(struct platform_device *pdev) | 642 | static int imx_ssi_remove(struct platform_device *pdev) |
643 | { | 643 | { |
644 | struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 644 | struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
645 | struct imx_ssi *ssi = platform_get_drvdata(pdev); | 645 | struct imx_ssi *ssi = platform_get_drvdata(pdev); |
@@ -660,7 +660,7 @@ static int __devexit imx_ssi_remove(struct platform_device *pdev) | |||
660 | 660 | ||
661 | static struct platform_driver imx_ssi_driver = { | 661 | static struct platform_driver imx_ssi_driver = { |
662 | .probe = imx_ssi_probe, | 662 | .probe = imx_ssi_probe, |
663 | .remove = __devexit_p(imx_ssi_remove), | 663 | .remove = imx_ssi_remove, |
664 | 664 | ||
665 | .driver = { | 665 | .driver = { |
666 | .name = "imx-ssi", | 666 | .name = "imx-ssi", |
diff --git a/sound/soc/fsl/mpc5200_psc_ac97.c b/sound/soc/fsl/mpc5200_psc_ac97.c index a313c0ae36db..a4aec0488dd3 100644 --- a/sound/soc/fsl/mpc5200_psc_ac97.c +++ b/sound/soc/fsl/mpc5200_psc_ac97.c | |||
@@ -277,7 +277,7 @@ static struct snd_soc_dai_driver psc_ac97_dai[] = { | |||
277 | * - Probe/remove operations | 277 | * - Probe/remove operations |
278 | * - OF device match table | 278 | * - OF device match table |
279 | */ | 279 | */ |
280 | static int __devinit psc_ac97_of_probe(struct platform_device *op) | 280 | static int psc_ac97_of_probe(struct platform_device *op) |
281 | { | 281 | { |
282 | int rc; | 282 | int rc; |
283 | struct snd_ac97 ac97; | 283 | struct snd_ac97 ac97; |
@@ -310,7 +310,7 @@ static int __devinit psc_ac97_of_probe(struct platform_device *op) | |||
310 | return 0; | 310 | return 0; |
311 | } | 311 | } |
312 | 312 | ||
313 | static int __devexit psc_ac97_of_remove(struct platform_device *op) | 313 | static int psc_ac97_of_remove(struct platform_device *op) |
314 | { | 314 | { |
315 | mpc5200_audio_dma_destroy(op); | 315 | mpc5200_audio_dma_destroy(op); |
316 | snd_soc_unregister_dais(&op->dev, ARRAY_SIZE(psc_ac97_dai)); | 316 | snd_soc_unregister_dais(&op->dev, ARRAY_SIZE(psc_ac97_dai)); |
@@ -318,7 +318,7 @@ static int __devexit psc_ac97_of_remove(struct platform_device *op) | |||
318 | } | 318 | } |
319 | 319 | ||
320 | /* Match table for of_platform binding */ | 320 | /* Match table for of_platform binding */ |
321 | static struct of_device_id psc_ac97_match[] __devinitdata = { | 321 | static struct of_device_id psc_ac97_match[] = { |
322 | { .compatible = "fsl,mpc5200-psc-ac97", }, | 322 | { .compatible = "fsl,mpc5200-psc-ac97", }, |
323 | { .compatible = "fsl,mpc5200b-psc-ac97", }, | 323 | { .compatible = "fsl,mpc5200b-psc-ac97", }, |
324 | {} | 324 | {} |
@@ -327,7 +327,7 @@ MODULE_DEVICE_TABLE(of, psc_ac97_match); | |||
327 | 327 | ||
328 | static struct platform_driver psc_ac97_driver = { | 328 | static struct platform_driver psc_ac97_driver = { |
329 | .probe = psc_ac97_of_probe, | 329 | .probe = psc_ac97_of_probe, |
330 | .remove = __devexit_p(psc_ac97_of_remove), | 330 | .remove = psc_ac97_of_remove, |
331 | .driver = { | 331 | .driver = { |
332 | .name = "mpc5200-psc-ac97", | 332 | .name = "mpc5200-psc-ac97", |
333 | .owner = THIS_MODULE, | 333 | .owner = THIS_MODULE, |
diff --git a/sound/soc/fsl/mpc5200_psc_i2s.c b/sound/soc/fsl/mpc5200_psc_i2s.c index ba1f0a66358f..b95b966f25a0 100644 --- a/sound/soc/fsl/mpc5200_psc_i2s.c +++ b/sound/soc/fsl/mpc5200_psc_i2s.c | |||
@@ -153,7 +153,7 @@ static struct snd_soc_dai_driver psc_i2s_dai[] = {{ | |||
153 | * - Probe/remove operations | 153 | * - Probe/remove operations |
154 | * - OF device match table | 154 | * - OF device match table |
155 | */ | 155 | */ |
156 | static int __devinit psc_i2s_of_probe(struct platform_device *op) | 156 | static int psc_i2s_of_probe(struct platform_device *op) |
157 | { | 157 | { |
158 | int rc; | 158 | int rc; |
159 | struct psc_dma *psc_dma; | 159 | struct psc_dma *psc_dma; |
@@ -205,7 +205,7 @@ static int __devinit psc_i2s_of_probe(struct platform_device *op) | |||
205 | 205 | ||
206 | } | 206 | } |
207 | 207 | ||
208 | static int __devexit psc_i2s_of_remove(struct platform_device *op) | 208 | static int psc_i2s_of_remove(struct platform_device *op) |
209 | { | 209 | { |
210 | mpc5200_audio_dma_destroy(op); | 210 | mpc5200_audio_dma_destroy(op); |
211 | snd_soc_unregister_dais(&op->dev, ARRAY_SIZE(psc_i2s_dai)); | 211 | snd_soc_unregister_dais(&op->dev, ARRAY_SIZE(psc_i2s_dai)); |
@@ -213,7 +213,7 @@ static int __devexit psc_i2s_of_remove(struct platform_device *op) | |||
213 | } | 213 | } |
214 | 214 | ||
215 | /* Match table for of_platform binding */ | 215 | /* Match table for of_platform binding */ |
216 | static struct of_device_id psc_i2s_match[] __devinitdata = { | 216 | static struct of_device_id psc_i2s_match[] = { |
217 | { .compatible = "fsl,mpc5200-psc-i2s", }, | 217 | { .compatible = "fsl,mpc5200-psc-i2s", }, |
218 | { .compatible = "fsl,mpc5200b-psc-i2s", }, | 218 | { .compatible = "fsl,mpc5200b-psc-i2s", }, |
219 | {} | 219 | {} |
@@ -222,7 +222,7 @@ MODULE_DEVICE_TABLE(of, psc_i2s_match); | |||
222 | 222 | ||
223 | static struct platform_driver psc_i2s_driver = { | 223 | static struct platform_driver psc_i2s_driver = { |
224 | .probe = psc_i2s_of_probe, | 224 | .probe = psc_i2s_of_probe, |
225 | .remove = __devexit_p(psc_i2s_of_remove), | 225 | .remove = psc_i2s_of_remove, |
226 | .driver = { | 226 | .driver = { |
227 | .name = "mpc5200-psc-i2s", | 227 | .name = "mpc5200-psc-i2s", |
228 | .owner = THIS_MODULE, | 228 | .owner = THIS_MODULE, |
diff --git a/sound/soc/fsl/mpc8610_hpcd.c b/sound/soc/fsl/mpc8610_hpcd.c index 9ff9318c52b9..228c52e71440 100644 --- a/sound/soc/fsl/mpc8610_hpcd.c +++ b/sound/soc/fsl/mpc8610_hpcd.c | |||
@@ -368,7 +368,7 @@ error_alloc: | |||
368 | * | 368 | * |
369 | * This function is called when the platform device is removed. | 369 | * This function is called when the platform device is removed. |
370 | */ | 370 | */ |
371 | static int __devexit mpc8610_hpcd_remove(struct platform_device *pdev) | 371 | static int mpc8610_hpcd_remove(struct platform_device *pdev) |
372 | { | 372 | { |
373 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 373 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
374 | struct mpc8610_hpcd_data *machine_data = | 374 | struct mpc8610_hpcd_data *machine_data = |
@@ -382,7 +382,7 @@ static int __devexit mpc8610_hpcd_remove(struct platform_device *pdev) | |||
382 | 382 | ||
383 | static struct platform_driver mpc8610_hpcd_driver = { | 383 | static struct platform_driver mpc8610_hpcd_driver = { |
384 | .probe = mpc8610_hpcd_probe, | 384 | .probe = mpc8610_hpcd_probe, |
385 | .remove = __devexit_p(mpc8610_hpcd_remove), | 385 | .remove = mpc8610_hpcd_remove, |
386 | .driver = { | 386 | .driver = { |
387 | /* The name must match 'compatible' property in the device tree, | 387 | /* The name must match 'compatible' property in the device tree, |
388 | * in lowercase letters. | 388 | * in lowercase letters. |
diff --git a/sound/soc/fsl/mx27vis-aic32x4.c b/sound/soc/fsl/mx27vis-aic32x4.c index 2b76877b1789..3d1074179057 100644 --- a/sound/soc/fsl/mx27vis-aic32x4.c +++ b/sound/soc/fsl/mx27vis-aic32x4.c | |||
@@ -180,7 +180,7 @@ static struct snd_soc_card mx27vis_aic32x4 = { | |||
180 | .num_dapm_routes = ARRAY_SIZE(aic32x4_dapm_routes), | 180 | .num_dapm_routes = ARRAY_SIZE(aic32x4_dapm_routes), |
181 | }; | 181 | }; |
182 | 182 | ||
183 | static int __devinit mx27vis_aic32x4_probe(struct platform_device *pdev) | 183 | static int mx27vis_aic32x4_probe(struct platform_device *pdev) |
184 | { | 184 | { |
185 | struct snd_mx27vis_platform_data *pdata = pdev->dev.platform_data; | 185 | struct snd_mx27vis_platform_data *pdata = pdev->dev.platform_data; |
186 | int ret; | 186 | int ret; |
@@ -219,7 +219,7 @@ static int __devinit mx27vis_aic32x4_probe(struct platform_device *pdev) | |||
219 | return ret; | 219 | return ret; |
220 | } | 220 | } |
221 | 221 | ||
222 | static int __devexit mx27vis_aic32x4_remove(struct platform_device *pdev) | 222 | static int mx27vis_aic32x4_remove(struct platform_device *pdev) |
223 | { | 223 | { |
224 | snd_soc_unregister_card(&mx27vis_aic32x4); | 224 | snd_soc_unregister_card(&mx27vis_aic32x4); |
225 | 225 | ||
@@ -232,7 +232,7 @@ static struct platform_driver mx27vis_aic32x4_audio_driver = { | |||
232 | .owner = THIS_MODULE, | 232 | .owner = THIS_MODULE, |
233 | }, | 233 | }, |
234 | .probe = mx27vis_aic32x4_probe, | 234 | .probe = mx27vis_aic32x4_probe, |
235 | .remove = __devexit_p(mx27vis_aic32x4_remove), | 235 | .remove = mx27vis_aic32x4_remove, |
236 | }; | 236 | }; |
237 | 237 | ||
238 | module_platform_driver(mx27vis_aic32x4_audio_driver); | 238 | module_platform_driver(mx27vis_aic32x4_audio_driver); |
diff --git a/sound/soc/fsl/p1022_ds.c b/sound/soc/fsl/p1022_ds.c index 144d49603637..ba59c23a137b 100644 --- a/sound/soc/fsl/p1022_ds.c +++ b/sound/soc/fsl/p1022_ds.c | |||
@@ -376,7 +376,7 @@ error_put: | |||
376 | * | 376 | * |
377 | * This function is called when the platform device is removed. | 377 | * This function is called when the platform device is removed. |
378 | */ | 378 | */ |
379 | static int __devexit p1022_ds_remove(struct platform_device *pdev) | 379 | static int p1022_ds_remove(struct platform_device *pdev) |
380 | { | 380 | { |
381 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 381 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
382 | struct machine_data *mdata = | 382 | struct machine_data *mdata = |
@@ -390,7 +390,7 @@ static int __devexit p1022_ds_remove(struct platform_device *pdev) | |||
390 | 390 | ||
391 | static struct platform_driver p1022_ds_driver = { | 391 | static struct platform_driver p1022_ds_driver = { |
392 | .probe = p1022_ds_probe, | 392 | .probe = p1022_ds_probe, |
393 | .remove = __devexit_p(p1022_ds_remove), | 393 | .remove = p1022_ds_remove, |
394 | .driver = { | 394 | .driver = { |
395 | /* | 395 | /* |
396 | * The name must match 'compatible' property in the device tree, | 396 | * The name must match 'compatible' property in the device tree, |
diff --git a/sound/soc/fsl/p1022_rdk.c b/sound/soc/fsl/p1022_rdk.c index 897e32ffdc42..f21551911533 100644 --- a/sound/soc/fsl/p1022_rdk.c +++ b/sound/soc/fsl/p1022_rdk.c | |||
@@ -326,7 +326,7 @@ error_put: | |||
326 | * | 326 | * |
327 | * This function is called when the platform device is removed. | 327 | * This function is called when the platform device is removed. |
328 | */ | 328 | */ |
329 | static int __devexit p1022_rdk_remove(struct platform_device *pdev) | 329 | static int p1022_rdk_remove(struct platform_device *pdev) |
330 | { | 330 | { |
331 | struct snd_soc_card *card = platform_get_drvdata(pdev); | 331 | struct snd_soc_card *card = platform_get_drvdata(pdev); |
332 | struct machine_data *mdata = | 332 | struct machine_data *mdata = |
@@ -340,7 +340,7 @@ static int __devexit p1022_rdk_remove(struct platform_device *pdev) | |||
340 | 340 | ||
341 | static struct platform_driver p1022_rdk_driver = { | 341 | static struct platform_driver p1022_rdk_driver = { |
342 | .probe = p1022_rdk_probe, | 342 | .probe = p1022_rdk_probe, |
343 | .remove = __devexit_p(p1022_rdk_remove), | 343 | .remove = p1022_rdk_remove, |
344 | .driver = { | 344 | .driver = { |
345 | /* | 345 | /* |
346 | * The name must match 'compatible' property in the device tree, | 346 | * The name must match 'compatible' property in the device tree, |
diff --git a/sound/soc/fsl/pcm030-audio-fabric.c b/sound/soc/fsl/pcm030-audio-fabric.c index 4d261927662f..8e52c1485df3 100644 --- a/sound/soc/fsl/pcm030-audio-fabric.c +++ b/sound/soc/fsl/pcm030-audio-fabric.c | |||
@@ -101,7 +101,7 @@ static int __init pcm030_fabric_probe(struct platform_device *op) | |||
101 | return ret; | 101 | return ret; |
102 | } | 102 | } |
103 | 103 | ||
104 | static int __devexit pcm030_fabric_remove(struct platform_device *op) | 104 | static int pcm030_fabric_remove(struct platform_device *op) |
105 | { | 105 | { |
106 | struct pcm030_audio_data *pdata = platform_get_drvdata(op); | 106 | struct pcm030_audio_data *pdata = platform_get_drvdata(op); |
107 | int ret; | 107 | int ret; |
@@ -120,7 +120,7 @@ MODULE_DEVICE_TABLE(of, pcm030_audio_match); | |||
120 | 120 | ||
121 | static struct platform_driver pcm030_fabric_driver = { | 121 | static struct platform_driver pcm030_fabric_driver = { |
122 | .probe = pcm030_fabric_probe, | 122 | .probe = pcm030_fabric_probe, |
123 | .remove = __devexit_p(pcm030_fabric_remove), | 123 | .remove = pcm030_fabric_remove, |
124 | .driver = { | 124 | .driver = { |
125 | .name = DRV_NAME, | 125 | .name = DRV_NAME, |
126 | .owner = THIS_MODULE, | 126 | .owner = THIS_MODULE, |