aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:20 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:30:59 -0500
commit05c4c6f7072cff531c62322e07a156b1501df7a5 (patch)
treee41f58286b7acd25e2d98f2d20e54c94ee6c95de /sound/soc/codecs
parentbd479f6f5f5dc2a54bc2cc658c310ed8ad2228a9 (diff)
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: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs')
-rw-r--r--sound/soc/codecs/twl4030.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/twl4030.c b/sound/soc/codecs/twl4030.c
index e7f608996c41..63b280b06035 100644
--- a/sound/soc/codecs/twl4030.c
+++ b/sound/soc/codecs/twl4030.c
@@ -2334,13 +2334,13 @@ static struct snd_soc_codec_driver soc_codec_dev_twl4030 = {
2334 .num_dapm_routes = ARRAY_SIZE(intercon), 2334 .num_dapm_routes = ARRAY_SIZE(intercon),
2335}; 2335};
2336 2336
2337static int __devinit twl4030_codec_probe(struct platform_device *pdev) 2337static int twl4030_codec_probe(struct platform_device *pdev)
2338{ 2338{
2339 return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_twl4030, 2339 return snd_soc_register_codec(&pdev->dev, &soc_codec_dev_twl4030,
2340 twl4030_dai, ARRAY_SIZE(twl4030_dai)); 2340 twl4030_dai, ARRAY_SIZE(twl4030_dai));
2341} 2341}
2342 2342
2343static int __devexit twl4030_codec_remove(struct platform_device *pdev) 2343static int twl4030_codec_remove(struct platform_device *pdev)
2344{ 2344{
2345 snd_soc_unregister_codec(&pdev->dev); 2345 snd_soc_unregister_codec(&pdev->dev);
2346 return 0; 2346 return 0;
@@ -2350,7 +2350,7 @@ MODULE_ALIAS("platform:twl4030-codec");
2350 2350
2351static struct platform_driver twl4030_codec_driver = { 2351static struct platform_driver twl4030_codec_driver = {
2352 .probe = twl4030_codec_probe, 2352 .probe = twl4030_codec_probe,
2353 .remove = __devexit_p(twl4030_codec_remove), 2353 .remove = twl4030_codec_remove,
2354 .driver = { 2354 .driver = {
2355 .name = "twl4030-codec", 2355 .name = "twl4030-codec",
2356 .owner = THIS_MODULE, 2356 .owner = THIS_MODULE,