Commit e51e97ee authored by Bill Pemberton's avatar Bill Pemberton Committed by Mark Brown

ASoC: utils: 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: default avatarBill Pemberton <wfp5p@virginia.edu>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent da794876
...@@ -94,7 +94,7 @@ static struct snd_soc_dai_driver dummy_dai = { ...@@ -94,7 +94,7 @@ static struct snd_soc_dai_driver dummy_dai = {
.name = "snd-soc-dummy-dai", .name = "snd-soc-dummy-dai",
}; };
static __devinit int snd_soc_dummy_probe(struct platform_device *pdev) static int snd_soc_dummy_probe(struct platform_device *pdev)
{ {
int ret; int ret;
...@@ -111,7 +111,7 @@ static __devinit int snd_soc_dummy_probe(struct platform_device *pdev) ...@@ -111,7 +111,7 @@ static __devinit int snd_soc_dummy_probe(struct platform_device *pdev)
return ret; return ret;
} }
static __devexit int snd_soc_dummy_remove(struct platform_device *pdev) static int snd_soc_dummy_remove(struct platform_device *pdev)
{ {
snd_soc_unregister_platform(&pdev->dev); snd_soc_unregister_platform(&pdev->dev);
snd_soc_unregister_codec(&pdev->dev); snd_soc_unregister_codec(&pdev->dev);
...@@ -125,7 +125,7 @@ static struct platform_driver soc_dummy_driver = { ...@@ -125,7 +125,7 @@ static struct platform_driver soc_dummy_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = snd_soc_dummy_probe, .probe = snd_soc_dummy_probe,
.remove = __devexit_p(snd_soc_dummy_remove), .remove = snd_soc_dummy_remove,
}; };
static struct platform_device *soc_dummy_dev; static struct platform_device *soc_dummy_dev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment