Commit 71d14ea6 authored by Bill Pemberton's avatar Bill Pemberton Committed by Mark Brown

ASoC: atmel: 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 05c4c6f7
...@@ -197,7 +197,7 @@ static struct snd_soc_card snd_soc_at91sam9g20ek = { ...@@ -197,7 +197,7 @@ static struct snd_soc_card snd_soc_at91sam9g20ek = {
.set_bias_level = at91sam9g20ek_set_bias_level, .set_bias_level = at91sam9g20ek_set_bias_level,
}; };
static int __devinit at91sam9g20ek_audio_probe(struct platform_device *pdev) static int at91sam9g20ek_audio_probe(struct platform_device *pdev)
{ {
struct device_node *np = pdev->dev.of_node; struct device_node *np = pdev->dev.of_node;
struct device_node *codec_np, *cpu_np; struct device_node *codec_np, *cpu_np;
...@@ -301,7 +301,7 @@ static int __devinit at91sam9g20ek_audio_probe(struct platform_device *pdev) ...@@ -301,7 +301,7 @@ static int __devinit at91sam9g20ek_audio_probe(struct platform_device *pdev)
return ret; return ret;
} }
static int __devexit at91sam9g20ek_audio_remove(struct platform_device *pdev) static int at91sam9g20ek_audio_remove(struct platform_device *pdev)
{ {
struct snd_soc_card *card = platform_get_drvdata(pdev); struct snd_soc_card *card = platform_get_drvdata(pdev);
...@@ -328,7 +328,7 @@ static struct platform_driver at91sam9g20ek_audio_driver = { ...@@ -328,7 +328,7 @@ static struct platform_driver at91sam9g20ek_audio_driver = {
.of_match_table = of_match_ptr(at91sam9g20ek_wm8731_dt_ids), .of_match_table = of_match_ptr(at91sam9g20ek_wm8731_dt_ids),
}, },
.probe = at91sam9g20ek_audio_probe, .probe = at91sam9g20ek_audio_probe,
.remove = __devexit_p(at91sam9g20ek_audio_remove), .remove = at91sam9g20ek_audio_remove,
}; };
module_platform_driver(at91sam9g20ek_audio_driver); module_platform_driver(at91sam9g20ek_audio_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