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

ASoC: txx9: 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 4652a0d0
...@@ -170,7 +170,7 @@ static struct snd_soc_dai_driver txx9aclc_ac97_dai = { ...@@ -170,7 +170,7 @@ static struct snd_soc_dai_driver txx9aclc_ac97_dai = {
}, },
}; };
static int __devinit txx9aclc_ac97_dev_probe(struct platform_device *pdev) static int txx9aclc_ac97_dev_probe(struct platform_device *pdev)
{ {
struct txx9aclc_plat_drvdata *drvdata; struct txx9aclc_plat_drvdata *drvdata;
struct resource *r; struct resource *r;
...@@ -208,7 +208,7 @@ static int __devinit txx9aclc_ac97_dev_probe(struct platform_device *pdev) ...@@ -208,7 +208,7 @@ static int __devinit txx9aclc_ac97_dev_probe(struct platform_device *pdev)
return snd_soc_register_dai(&pdev->dev, &txx9aclc_ac97_dai); return snd_soc_register_dai(&pdev->dev, &txx9aclc_ac97_dai);
} }
static int __devexit txx9aclc_ac97_dev_remove(struct platform_device *pdev) static int txx9aclc_ac97_dev_remove(struct platform_device *pdev)
{ {
snd_soc_unregister_dai(&pdev->dev); snd_soc_unregister_dai(&pdev->dev);
return 0; return 0;
...@@ -216,7 +216,7 @@ static int __devexit txx9aclc_ac97_dev_remove(struct platform_device *pdev) ...@@ -216,7 +216,7 @@ static int __devexit txx9aclc_ac97_dev_remove(struct platform_device *pdev)
static struct platform_driver txx9aclc_ac97_driver = { static struct platform_driver txx9aclc_ac97_driver = {
.probe = txx9aclc_ac97_dev_probe, .probe = txx9aclc_ac97_dev_probe,
.remove = __devexit_p(txx9aclc_ac97_dev_remove), .remove = txx9aclc_ac97_dev_remove,
.driver = { .driver = {
.name = "txx9aclc-ac97", .name = "txx9aclc-ac97",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
...@@ -417,12 +417,12 @@ static struct snd_soc_platform_driver txx9aclc_soc_platform = { ...@@ -417,12 +417,12 @@ static struct snd_soc_platform_driver txx9aclc_soc_platform = {
.pcm_free = txx9aclc_pcm_free_dma_buffers, .pcm_free = txx9aclc_pcm_free_dma_buffers,
}; };
static int __devinit txx9aclc_soc_platform_probe(struct platform_device *pdev) static int txx9aclc_soc_platform_probe(struct platform_device *pdev)
{ {
return snd_soc_register_platform(&pdev->dev, &txx9aclc_soc_platform); return snd_soc_register_platform(&pdev->dev, &txx9aclc_soc_platform);
} }
static int __devexit txx9aclc_soc_platform_remove(struct platform_device *pdev) static int txx9aclc_soc_platform_remove(struct platform_device *pdev)
{ {
snd_soc_unregister_platform(&pdev->dev); snd_soc_unregister_platform(&pdev->dev);
return 0; return 0;
...@@ -435,7 +435,7 @@ static struct platform_driver txx9aclc_pcm_driver = { ...@@ -435,7 +435,7 @@ static struct platform_driver txx9aclc_pcm_driver = {
}, },
.probe = txx9aclc_soc_platform_probe, .probe = txx9aclc_soc_platform_probe,
.remove = __devexit_p(txx9aclc_soc_platform_remove), .remove = txx9aclc_soc_platform_remove,
}; };
module_platform_driver(txx9aclc_pcm_driver); module_platform_driver(txx9aclc_pcm_driver);
......
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