dect
/
linux-2.6
Archived
13
0
Fork 0

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: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
Bill Pemberton 2012-12-07 09:26:28 -05:00 committed by Mark Brown
parent fd582736ab
commit ce69ace56a
2 changed files with 6 additions and 6 deletions

View File

@ -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 @@ out0:
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);

View File

@ -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);