diff options
author | Axel Lin | 2010-11-25 03:44:59 +0100 |
---|---|---|
committer | Mark Brown | 2010-11-25 12:09:04 +0100 |
commit | b193deead8637291138a8c1c49753ee686fa5b17 (patch) | |
tree | bee982df784d24330cc897c67373fbc48b27af29 /sound/soc/atmel/snd-soc-afeb9260.c | |
parent | ASoC: pcm030-audio-fabric: fix resource leak in pcm030_fabric_init error path (diff) | |
download | kernel-qcow2-linux-b193deead8637291138a8c1c49753ee686fa5b17.tar.gz kernel-qcow2-linux-b193deead8637291138a8c1c49753ee686fa5b17.tar.xz kernel-qcow2-linux-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/soc/atmel/snd-soc-afeb9260.c')
-rw-r--r-- | sound/soc/atmel/snd-soc-afeb9260.c | 1 |
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 e3d283561c19..86e0f8586dc3 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; } |