提交 b193deea 编写于 作者: A Axel Lin 提交者: Mark Brown

ASoC: snd-soc-afeb9260: remove unneeded platform_device_del in error path

Signed-off-by: NAxel Lin <axel.lin@gmail.com>
Acked-by: NLiam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
上级 917dac0f
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册