aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:35 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:31:45 -0500
commitda794876f27c48ba67a6b3295ded27bbd81ba7e4 (patch)
treec48313c77233044066138581639d0d025ef7db45 /sound
parentd8628d1c824011dff9260f7e009c1bfed043c95e (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>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/ux500/mop500.c10
-rw-r--r--sound/soc/ux500/ux500_msp_dai.c4
-rw-r--r--sound/soc/ux500/ux500_pcm.c4
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
74static int __devinit mop500_of_probe(struct platform_device *pdev, 74static 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
102static int __devinit mop500_probe(struct platform_device *pdev) 102static 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
139static int __devexit mop500_remove(struct platform_device *pdev) 139static 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
167module_platform_driver(snd_soc_mop500_driver); 167module_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
771static int __devinit ux500_msp_drv_probe(struct platform_device *pdev) 771static 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
858static int __devexit ux500_msp_drv_remove(struct platform_device *pdev) 858static 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
285int __devinit ux500_pcm_register_platform(struct platform_device *pdev) 285int 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}
299EXPORT_SYMBOL_GPL(ux500_pcm_register_platform); 299EXPORT_SYMBOL_GPL(ux500_pcm_register_platform);
300 300
301int __devexit ux500_pcm_unregister_platform(struct platform_device *pdev) 301int 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