diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2012-12-07 09:26:35 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-12-09 10:31:45 -0500 |
commit | da794876f27c48ba67a6b3295ded27bbd81ba7e4 (patch) | |
tree | c48313c77233044066138581639d0d025ef7db45 | |
parent | d8628d1c824011dff9260f7e009c1bfed043c95e (diff) |
ASoC: ux500: 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>
-rw-r--r-- | sound/soc/ux500/mop500.c | 10 | ||||
-rw-r--r-- | sound/soc/ux500/ux500_msp_dai.c | 4 | ||||
-rw-r--r-- | sound/soc/ux500/ux500_pcm.c | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/ux500/mop500.c b/sound/soc/ux500/mop500.c index 651a52a95fd7..ae6990738783 100644 --- a/sound/soc/ux500/mop500.c +++ b/sound/soc/ux500/mop500.c | |||
@@ -71,8 +71,8 @@ static void mop500_of_node_put(void) | |||
71 | } | 71 | } |
72 | } | 72 | } |
73 | 73 | ||
74 | static int __devinit mop500_of_probe(struct platform_device *pdev, | 74 | static int mop500_of_probe(struct platform_device *pdev, |
75 | struct device_node *np) | 75 | struct device_node *np) |
76 | { | 76 | { |
77 | struct device_node *codec_np, *msp_np[2]; | 77 | struct device_node *codec_np, *msp_np[2]; |
78 | int i; | 78 | int i; |
@@ -99,7 +99,7 @@ static int __devinit mop500_of_probe(struct platform_device *pdev, | |||
99 | return 0; | 99 | return 0; |
100 | } | 100 | } |
101 | 101 | ||
102 | static int __devinit mop500_probe(struct platform_device *pdev) | 102 | static int mop500_probe(struct platform_device *pdev) |
103 | { | 103 | { |
104 | struct device_node *np = pdev->dev.of_node; | 104 | struct device_node *np = pdev->dev.of_node; |
105 | int ret; | 105 | int ret; |
@@ -136,7 +136,7 @@ static int __devinit mop500_probe(struct platform_device *pdev) | |||
136 | return ret; | 136 | return ret; |
137 | } | 137 | } |
138 | 138 | ||
139 | static int __devexit mop500_remove(struct platform_device *pdev) | 139 | static int mop500_remove(struct platform_device *pdev) |
140 | { | 140 | { |
141 | struct snd_soc_card *mop500_card = platform_get_drvdata(pdev); | 141 | struct snd_soc_card *mop500_card = platform_get_drvdata(pdev); |
142 | 142 | ||
@@ -161,7 +161,7 @@ static struct platform_driver snd_soc_mop500_driver = { | |||
161 | .of_match_table = snd_soc_mop500_match, | 161 | .of_match_table = snd_soc_mop500_match, |
162 | }, | 162 | }, |
163 | .probe = mop500_probe, | 163 | .probe = mop500_probe, |
164 | .remove = __devexit_p(mop500_remove), | 164 | .remove = mop500_remove, |
165 | }; | 165 | }; |
166 | 166 | ||
167 | module_platform_driver(snd_soc_mop500_driver); | 167 | module_platform_driver(snd_soc_mop500_driver); |
diff --git a/sound/soc/ux500/ux500_msp_dai.c b/sound/soc/ux500/ux500_msp_dai.c index 478b4b60e0cc..94a3e5705aaa 100644 --- a/sound/soc/ux500/ux500_msp_dai.c +++ b/sound/soc/ux500/ux500_msp_dai.c | |||
@@ -768,7 +768,7 @@ static struct snd_soc_dai_driver ux500_msp_dai_drv[UX500_NBR_OF_DAI] = { | |||
768 | }, | 768 | }, |
769 | }; | 769 | }; |
770 | 770 | ||
771 | static int __devinit ux500_msp_drv_probe(struct platform_device *pdev) | 771 | static int ux500_msp_drv_probe(struct platform_device *pdev) |
772 | { | 772 | { |
773 | struct ux500_msp_i2s_drvdata *drvdata; | 773 | struct ux500_msp_i2s_drvdata *drvdata; |
774 | int ret = 0; | 774 | int ret = 0; |
@@ -855,7 +855,7 @@ err_pclk: | |||
855 | return ret; | 855 | return ret; |
856 | } | 856 | } |
857 | 857 | ||
858 | static int __devexit ux500_msp_drv_remove(struct platform_device *pdev) | 858 | static int ux500_msp_drv_remove(struct platform_device *pdev) |
859 | { | 859 | { |
860 | struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(&pdev->dev); | 860 | struct ux500_msp_i2s_drvdata *drvdata = dev_get_drvdata(&pdev->dev); |
861 | 861 | ||
diff --git a/sound/soc/ux500/ux500_pcm.c b/sound/soc/ux500/ux500_pcm.c index 894c9f4bb9f6..c6821a5ab0fb 100644 --- a/sound/soc/ux500/ux500_pcm.c +++ b/sound/soc/ux500/ux500_pcm.c | |||
@@ -282,7 +282,7 @@ static struct snd_soc_platform_driver ux500_pcm_soc_drv = { | |||
282 | .pcm_new = ux500_pcm_new, | 282 | .pcm_new = ux500_pcm_new, |
283 | }; | 283 | }; |
284 | 284 | ||
285 | int __devinit ux500_pcm_register_platform(struct platform_device *pdev) | 285 | int ux500_pcm_register_platform(struct platform_device *pdev) |
286 | { | 286 | { |
287 | int ret; | 287 | int ret; |
288 | 288 | ||
@@ -298,7 +298,7 @@ int __devinit ux500_pcm_register_platform(struct platform_device *pdev) | |||
298 | } | 298 | } |
299 | EXPORT_SYMBOL_GPL(ux500_pcm_register_platform); | 299 | EXPORT_SYMBOL_GPL(ux500_pcm_register_platform); |
300 | 300 | ||
301 | int __devexit ux500_pcm_unregister_platform(struct platform_device *pdev) | 301 | int ux500_pcm_unregister_platform(struct platform_device *pdev) |
302 | { | 302 | { |
303 | snd_soc_unregister_platform(&pdev->dev); | 303 | snd_soc_unregister_platform(&pdev->dev); |
304 | 304 | ||