summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2010-11-25 10:44:59 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-11-25 11:09:04 +0000
commitb193deead8637291138a8c1c49753ee686fa5b17 (patch)
treebee982df784d24330cc897c67373fbc48b27af29 /sound
parent917dac0ff1754776b86967b0ec1750022d9c4265 (diff)
downloadlinux-3.10-b193deead8637291138a8c1c49753ee686fa5b17.tar.gz
linux-3.10-b193deead8637291138a8c1c49753ee686fa5b17.tar.bz2
linux-3.10-b193deead8637291138a8c1c49753ee686fa5b17.zip
ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path
Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/atmel/snd-soc-afeb9260.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/atmel/snd-soc-afeb9260.c b/sound/soc/atmel/snd-soc-afeb9260.c
index e3d283561c1..86e0f8586dc 100644
--- a/sound/soc/atmel/snd-soc-afeb9260.c
+++ b/sound/soc/atmel/snd-soc-afeb9260.c
@@ -167,7 +167,6 @@ static int __init afeb9260_soc_init(void)
return 0;
err1:
- platform_device_del(afeb9260_snd_device);
platform_device_put(afeb9260_snd_device);
return err;
}