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

ASoC: nuc900: 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 fd582736
......@@ -314,7 +314,7 @@ static struct snd_soc_dai_driver nuc900_ac97_dai = {
.ops = &nuc900_ac97_dai_ops,
};
static int __devinit nuc900_ac97_drvprobe(struct platform_device *pdev)
static int nuc900_ac97_drvprobe(struct platform_device *pdev)
{
struct nuc900_audio *nuc900_audio;
int ret;
......@@ -382,7 +382,7 @@ static int __devinit nuc900_ac97_drvprobe(struct platform_device *pdev)
return ret;
}
static int __devexit nuc900_ac97_drvremove(struct platform_device *pdev)
static int nuc900_ac97_drvremove(struct platform_device *pdev)
{
snd_soc_unregister_dai(&pdev->dev);
......@@ -403,7 +403,7 @@ static struct platform_driver nuc900_ac97_driver = {
.owner = THIS_MODULE,
},
.probe = nuc900_ac97_drvprobe,
.remove = __devexit_p(nuc900_ac97_drvremove),
.remove = nuc900_ac97_drvremove,
};
module_platform_driver(nuc900_ac97_driver);
......
......@@ -337,12 +337,12 @@ static struct snd_soc_platform_driver nuc900_soc_platform = {
.pcm_free = nuc900_dma_free_dma_buffers,
};
static int __devinit nuc900_soc_platform_probe(struct platform_device *pdev)
static int nuc900_soc_platform_probe(struct platform_device *pdev)
{
return snd_soc_register_platform(&pdev->dev, &nuc900_soc_platform);
}
static int __devexit nuc900_soc_platform_remove(struct platform_device *pdev)
static int nuc900_soc_platform_remove(struct platform_device *pdev)
{
snd_soc_unregister_platform(&pdev->dev);
return 0;
......@@ -355,7 +355,7 @@ static struct platform_driver nuc900_pcm_driver = {
},
.probe = nuc900_soc_platform_probe,
.remove = __devexit_p(nuc900_soc_platform_remove),
.remove = nuc900_soc_platform_remove,
};
module_platform_driver(nuc900_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