From: Axel Lin Date: Thu, 25 Nov 2010 02:44:59 +0000 (+0800) Subject: ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path X-Git-Tag: v2.6.37-rc5~11^2~2^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b193deead8637291138a8c1c49753ee686fa5b17;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path Signed-off-by: Axel Lin Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/atmel/snd-soc-afeb9260.c b/sound/soc/atmel/snd-soc-afeb9260.c index e3d2835..86e0f85 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; }