Commit 05c4c6f7 authored by Bill Pemberton's avatar Bill Pemberton Committed by Mark Brown

ASoC: twl4030: 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 bd479f6f
...@@ -2334,13 +2334,13 @@ static struct snd_soc_codec_driver soc_codec_dev_twl4030 = { ...@@ -2334,13 +2334,13 @@ static struct snd_soc_codec_driver soc_codec_dev_twl4030 = {
.num_dapm_routes = ARRAY_SIZE(intercon), .num_dapm_routes = ARRAY_SIZE(intercon),
}; };
static int __devinit twl4030_codec_probe(struct platform_device *pdev) static int twl4030_codec_probe(struct platform_device *pdev)
{ {
return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_twl4030, return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_twl4030,
twl4030_dai, ARRAY_SIZE(twl4030_dai)); twl4030_dai, ARRAY_SIZE(twl4030_dai));
} }
static int __devexit twl4030_codec_remove(struct platform_device *pdev) static int twl4030_codec_remove(struct platform_device *pdev)
{ {
snd_soc_unregister_codec(&pdev->dev); snd_soc_unregister_codec(&pdev->dev);
return 0; return 0;
...@@ -2350,7 +2350,7 @@ MODULE_ALIAS("platform:twl4030-codec"); ...@@ -2350,7 +2350,7 @@ MODULE_ALIAS("platform:twl4030-codec");
static struct platform_driver twl4030_codec_driver = { static struct platform_driver twl4030_codec_driver = {
.probe = twl4030_codec_probe, .probe = twl4030_codec_probe,
.remove = __devexit_p(twl4030_codec_remove), .remove = twl4030_codec_remove,
.driver = { .driver = {
.name = "twl4030-codec", .name = "twl4030-codec",
.owner = THIS_MODULE, .owner = THIS_MODULE,
......
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