aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/wm9713.c
diff options
context:
space:
mode:
authorBill Pemberton <wfp5p@virginia.edu>2012-12-07 09:26:37 -0500
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-09 10:31:51 -0500
commit7a79e94e973639da7bf1b8242d504f9db9e5e848 (patch)
tree2bae8c8a5e1b350e2df0dbd6a80eff2dcc943ee1 /sound/soc/codecs/wm9713.c
parente51e97eecdb2a4415aac5f1a69aa66ed787f1217 (diff)
ASoC: codecs: 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/wm9713.c')
-rw-r--r--sound/soc/codecs/wm9713.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c
index 3eb19fb71d17..f7afa68d8c7f 100644
--- a/sound/soc/codecs/wm9713.c
+++ b/sound/soc/codecs/wm9713.c
@@ -1254,13 +1254,13 @@ static struct snd_soc_codec_driver soc_codec_dev_wm9713 = {
1254 .num_dapm_routes = ARRAY_SIZE(wm9713_audio_map), 1254 .num_dapm_routes = ARRAY_SIZE(wm9713_audio_map),
1255}; 1255};
1256 1256
1257static __devinit int wm9713_probe(struct platform_device *pdev) 1257static int wm9713_probe(struct platform_device *pdev)
1258{ 1258{
1259 return snd_soc_register_codec(&pdev->dev, 1259 return snd_soc_register_codec(&pdev->dev,
1260 &soc_codec_dev_wm9713, wm9713_dai, ARRAY_SIZE(wm9713_dai)); 1260 &soc_codec_dev_wm9713, wm9713_dai, ARRAY_SIZE(wm9713_dai));
1261} 1261}
1262 1262
1263static int __devexit wm9713_remove(struct platform_device *pdev) 1263static int wm9713_remove(struct platform_device *pdev)
1264{ 1264{
1265 snd_soc_unregister_codec(&pdev->dev); 1265 snd_soc_unregister_codec(&pdev->dev);
1266 return 0; 1266 return 0;
@@ -1273,7 +1273,7 @@ static struct platform_driver wm9713_codec_driver = {
1273 }, 1273 },
1274 1274
1275 .probe = wm9713_probe, 1275 .probe = wm9713_probe,
1276 .remove = __devexit_p(wm9713_remove), 1276 .remove = wm9713_remove,
1277}; 1277};
1278 1278
1279module_platform_driver(wm9713_codec_driver); 1279module_platform_driver(wm9713_codec_driver);