Commit 5c658be0 authored by Bill Pemberton's avatar Bill Pemberton Committed by Mark Brown

ASoC: au1x: 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 71d14ea6
...@@ -223,7 +223,7 @@ static struct snd_soc_dai_driver au1xac97c_dai_driver = { ...@@ -223,7 +223,7 @@ static struct snd_soc_dai_driver au1xac97c_dai_driver = {
.ops = &alchemy_ac97c_ops, .ops = &alchemy_ac97c_ops,
}; };
static int __devinit au1xac97c_drvprobe(struct platform_device *pdev) static int au1xac97c_drvprobe(struct platform_device *pdev)
{ {
int ret; int ret;
struct resource *iores, *dmares; struct resource *iores, *dmares;
...@@ -276,7 +276,7 @@ static int __devinit au1xac97c_drvprobe(struct platform_device *pdev) ...@@ -276,7 +276,7 @@ static int __devinit au1xac97c_drvprobe(struct platform_device *pdev)
return 0; return 0;
} }
static int __devexit au1xac97c_drvremove(struct platform_device *pdev) static int au1xac97c_drvremove(struct platform_device *pdev)
{ {
struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev);
...@@ -330,7 +330,7 @@ static struct platform_driver au1xac97c_driver = { ...@@ -330,7 +330,7 @@ static struct platform_driver au1xac97c_driver = {
.pm = AU1XPSCAC97_PMOPS, .pm = AU1XPSCAC97_PMOPS,
}, },
.probe = au1xac97c_drvprobe, .probe = au1xac97c_drvprobe,
.remove = __devexit_p(au1xac97c_drvremove), .remove = au1xac97c_drvremove,
}; };
static int __init au1xac97c_load(void) static int __init au1xac97c_load(void)
......
...@@ -34,14 +34,14 @@ static struct snd_soc_card db1000_ac97 = { ...@@ -34,14 +34,14 @@ static struct snd_soc_card db1000_ac97 = {
.num_links = 1, .num_links = 1,
}; };
static int __devinit db1000_audio_probe(struct platform_device *pdev) static int db1000_audio_probe(struct platform_device *pdev)
{ {
struct snd_soc_card *card = &db1000_ac97; struct snd_soc_card *card = &db1000_ac97;
card->dev = &pdev->dev; card->dev = &pdev->dev;
return snd_soc_register_card(card); return snd_soc_register_card(card);
} }
static int __devexit db1000_audio_remove(struct platform_device *pdev) static int db1000_audio_remove(struct platform_device *pdev)
{ {
struct snd_soc_card *card = platform_get_drvdata(pdev); struct snd_soc_card *card = platform_get_drvdata(pdev);
snd_soc_unregister_card(card); snd_soc_unregister_card(card);
...@@ -55,7 +55,7 @@ static struct platform_driver db1000_audio_driver = { ...@@ -55,7 +55,7 @@ static struct platform_driver db1000_audio_driver = {
.pm = &snd_soc_pm_ops, .pm = &snd_soc_pm_ops,
}, },
.probe = db1000_audio_probe, .probe = db1000_audio_probe,
.remove = __devexit_p(db1000_audio_remove), .remove = db1000_audio_remove,
}; };
module_platform_driver(db1000_audio_driver); module_platform_driver(db1000_audio_driver);
......
...@@ -167,7 +167,7 @@ static struct snd_soc_card db1550_i2s_machine = { ...@@ -167,7 +167,7 @@ static struct snd_soc_card db1550_i2s_machine = {
/*------------------------- COMMON PART ---------------------------*/ /*------------------------- COMMON PART ---------------------------*/
static struct snd_soc_card *db1200_cards[] __devinitdata = { static struct snd_soc_card *db1200_cards[] = {
&db1200_ac97_machine, &db1200_ac97_machine,
&db1200_i2s_machine, &db1200_i2s_machine,
&db1300_ac97_machine, &db1300_ac97_machine,
...@@ -176,7 +176,7 @@ static struct snd_soc_card *db1200_cards[] __devinitdata = { ...@@ -176,7 +176,7 @@ static struct snd_soc_card *db1200_cards[] __devinitdata = {
&db1550_i2s_machine, &db1550_i2s_machine,
}; };
static int __devinit db1200_audio_probe(struct platform_device *pdev) static int db1200_audio_probe(struct platform_device *pdev)
{ {
const struct platform_device_id *pid = platform_get_device_id(pdev); const struct platform_device_id *pid = platform_get_device_id(pdev);
struct snd_soc_card *card; struct snd_soc_card *card;
...@@ -186,7 +186,7 @@ static int __devinit db1200_audio_probe(struct platform_device *pdev) ...@@ -186,7 +186,7 @@ static int __devinit db1200_audio_probe(struct platform_device *pdev)
return snd_soc_register_card(card); return snd_soc_register_card(card);
} }
static int __devexit db1200_audio_remove(struct platform_device *pdev) static int db1200_audio_remove(struct platform_device *pdev)
{ {
struct snd_soc_card *card = platform_get_drvdata(pdev); struct snd_soc_card *card = platform_get_drvdata(pdev);
snd_soc_unregister_card(card); snd_soc_unregister_card(card);
...@@ -201,7 +201,7 @@ static struct platform_driver db1200_audio_driver = { ...@@ -201,7 +201,7 @@ static struct platform_driver db1200_audio_driver = {
}, },
.id_table = db1200_pids, .id_table = db1200_pids,
.probe = db1200_audio_probe, .probe = db1200_audio_probe,
.remove = __devexit_p(db1200_audio_remove), .remove = db1200_audio_remove,
}; };
module_platform_driver(db1200_audio_driver); module_platform_driver(db1200_audio_driver);
......
...@@ -347,7 +347,7 @@ static struct snd_soc_platform_driver au1xpsc_soc_platform = { ...@@ -347,7 +347,7 @@ static struct snd_soc_platform_driver au1xpsc_soc_platform = {
.pcm_free = au1xpsc_pcm_free_dma_buffers, .pcm_free = au1xpsc_pcm_free_dma_buffers,
}; };
static int __devinit au1xpsc_pcm_drvprobe(struct platform_device *pdev) static int au1xpsc_pcm_drvprobe(struct platform_device *pdev)
{ {
struct au1xpsc_audio_dmadata *dmadata; struct au1xpsc_audio_dmadata *dmadata;
...@@ -362,7 +362,7 @@ static int __devinit au1xpsc_pcm_drvprobe(struct platform_device *pdev) ...@@ -362,7 +362,7 @@ static int __devinit au1xpsc_pcm_drvprobe(struct platform_device *pdev)
return snd_soc_register_platform(&pdev->dev, &au1xpsc_soc_platform); return snd_soc_register_platform(&pdev->dev, &au1xpsc_soc_platform);
} }
static int __devexit au1xpsc_pcm_drvremove(struct platform_device *pdev) static int au1xpsc_pcm_drvremove(struct platform_device *pdev)
{ {
snd_soc_unregister_platform(&pdev->dev); snd_soc_unregister_platform(&pdev->dev);
...@@ -375,7 +375,7 @@ static struct platform_driver au1xpsc_pcm_driver = { ...@@ -375,7 +375,7 @@ static struct platform_driver au1xpsc_pcm_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = au1xpsc_pcm_drvprobe, .probe = au1xpsc_pcm_drvprobe,
.remove = __devexit_p(au1xpsc_pcm_drvremove), .remove = au1xpsc_pcm_drvremove,
}; };
module_platform_driver(au1xpsc_pcm_driver); module_platform_driver(au1xpsc_pcm_driver);
......
...@@ -322,7 +322,7 @@ static struct snd_soc_platform_driver alchemy_pcm_soc_platform = { ...@@ -322,7 +322,7 @@ static struct snd_soc_platform_driver alchemy_pcm_soc_platform = {
.pcm_free = alchemy_pcm_free_dma_buffers, .pcm_free = alchemy_pcm_free_dma_buffers,
}; };
static int __devinit alchemy_pcm_drvprobe(struct platform_device *pdev) static int alchemy_pcm_drvprobe(struct platform_device *pdev)
{ {
struct alchemy_pcm_ctx *ctx; struct alchemy_pcm_ctx *ctx;
...@@ -335,7 +335,7 @@ static int __devinit alchemy_pcm_drvprobe(struct platform_device *pdev) ...@@ -335,7 +335,7 @@ static int __devinit alchemy_pcm_drvprobe(struct platform_device *pdev)
return snd_soc_register_platform(&pdev->dev, &alchemy_pcm_soc_platform); return snd_soc_register_platform(&pdev->dev, &alchemy_pcm_soc_platform);
} }
static int __devexit alchemy_pcm_drvremove(struct platform_device *pdev) static int alchemy_pcm_drvremove(struct platform_device *pdev)
{ {
snd_soc_unregister_platform(&pdev->dev); snd_soc_unregister_platform(&pdev->dev);
...@@ -348,7 +348,7 @@ static struct platform_driver alchemy_pcmdma_driver = { ...@@ -348,7 +348,7 @@ static struct platform_driver alchemy_pcmdma_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
}, },
.probe = alchemy_pcm_drvprobe, .probe = alchemy_pcm_drvprobe,
.remove = __devexit_p(alchemy_pcm_drvremove), .remove = alchemy_pcm_drvremove,
}; };
module_platform_driver(alchemy_pcmdma_driver); module_platform_driver(alchemy_pcmdma_driver);
......
...@@ -225,7 +225,7 @@ static struct snd_soc_dai_driver au1xi2s_dai_driver = { ...@@ -225,7 +225,7 @@ static struct snd_soc_dai_driver au1xi2s_dai_driver = {
.ops = &au1xi2s_dai_ops, .ops = &au1xi2s_dai_ops,
}; };
static int __devinit au1xi2s_drvprobe(struct platform_device *pdev) static int au1xi2s_drvprobe(struct platform_device *pdev)
{ {
struct resource *iores, *dmares; struct resource *iores, *dmares;
struct au1xpsc_audio_data *ctx; struct au1xpsc_audio_data *ctx;
...@@ -263,7 +263,7 @@ static int __devinit au1xi2s_drvprobe(struct platform_device *pdev) ...@@ -263,7 +263,7 @@ static int __devinit au1xi2s_drvprobe(struct platform_device *pdev)
return snd_soc_register_dai(&pdev->dev, &au1xi2s_dai_driver); return snd_soc_register_dai(&pdev->dev, &au1xi2s_dai_driver);
} }
static int __devexit au1xi2s_drvremove(struct platform_device *pdev) static int au1xi2s_drvremove(struct platform_device *pdev)
{ {
struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev); struct au1xpsc_audio_data *ctx = platform_get_drvdata(pdev);
...@@ -309,7 +309,7 @@ static struct platform_driver au1xi2s_driver = { ...@@ -309,7 +309,7 @@ static struct platform_driver au1xi2s_driver = {
.pm = AU1XI2SC_PMOPS, .pm = AU1XI2SC_PMOPS,
}, },
.probe = au1xi2s_drvprobe, .probe = au1xi2s_drvprobe,
.remove = __devexit_p(au1xi2s_drvremove), .remove = au1xi2s_drvremove,
}; };
module_platform_driver(au1xi2s_driver); module_platform_driver(au1xi2s_driver);
......
...@@ -361,7 +361,7 @@ static const struct snd_soc_dai_driver au1xpsc_ac97_dai_template = { ...@@ -361,7 +361,7 @@ static const struct snd_soc_dai_driver au1xpsc_ac97_dai_template = {
.ops = &au1xpsc_ac97_dai_ops, .ops = &au1xpsc_ac97_dai_ops,
}; };
static int __devinit au1xpsc_ac97_drvprobe(struct platform_device *pdev) static int au1xpsc_ac97_drvprobe(struct platform_device *pdev)
{ {
int ret; int ret;
struct resource *iores, *dmares; struct resource *iores, *dmares;
...@@ -427,7 +427,7 @@ static int __devinit au1xpsc_ac97_drvprobe(struct platform_device *pdev) ...@@ -427,7 +427,7 @@ static int __devinit au1xpsc_ac97_drvprobe(struct platform_device *pdev)
return 0; return 0;
} }
static int __devexit au1xpsc_ac97_drvremove(struct platform_device *pdev) static int au1xpsc_ac97_drvremove(struct platform_device *pdev)
{ {
struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev);
...@@ -495,7 +495,7 @@ static struct platform_driver au1xpsc_ac97_driver = { ...@@ -495,7 +495,7 @@ static struct platform_driver au1xpsc_ac97_driver = {
.pm = AU1XPSCAC97_PMOPS, .pm = AU1XPSCAC97_PMOPS,
}, },
.probe = au1xpsc_ac97_drvprobe, .probe = au1xpsc_ac97_drvprobe,
.remove = __devexit_p(au1xpsc_ac97_drvremove), .remove = au1xpsc_ac97_drvremove,
}; };
static int __init au1xpsc_ac97_load(void) static int __init au1xpsc_ac97_load(void)
......
...@@ -288,7 +288,7 @@ static const struct snd_soc_dai_driver au1xpsc_i2s_dai_template = { ...@@ -288,7 +288,7 @@ static const struct snd_soc_dai_driver au1xpsc_i2s_dai_template = {
.ops = &au1xpsc_i2s_dai_ops, .ops = &au1xpsc_i2s_dai_ops,
}; };
static int __devinit au1xpsc_i2s_drvprobe(struct platform_device *pdev) static int au1xpsc_i2s_drvprobe(struct platform_device *pdev)
{ {
struct resource *iores, *dmares; struct resource *iores, *dmares;
unsigned long sel; unsigned long sel;
...@@ -353,7 +353,7 @@ static int __devinit au1xpsc_i2s_drvprobe(struct platform_device *pdev) ...@@ -353,7 +353,7 @@ static int __devinit au1xpsc_i2s_drvprobe(struct platform_device *pdev)
return snd_soc_register_dai(&pdev->dev, &wd->dai_drv); return snd_soc_register_dai(&pdev->dev, &wd->dai_drv);
} }
static int __devexit au1xpsc_i2s_drvremove(struct platform_device *pdev) static int au1xpsc_i2s_drvremove(struct platform_device *pdev)
{ {
struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev); struct au1xpsc_audio_data *wd = platform_get_drvdata(pdev);
...@@ -418,7 +418,7 @@ static struct platform_driver au1xpsc_i2s_driver = { ...@@ -418,7 +418,7 @@ static struct platform_driver au1xpsc_i2s_driver = {
.pm = AU1XPSCI2S_PMOPS, .pm = AU1XPSCI2S_PMOPS,
}, },
.probe = au1xpsc_i2s_drvprobe, .probe = au1xpsc_i2s_drvprobe,
.remove = __devexit_p(au1xpsc_i2s_drvremove), .remove = au1xpsc_i2s_drvremove,
}; };
module_platform_driver(au1xpsc_i2s_driver); module_platform_driver(au1xpsc_i2s_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