ASoC: soc-core: remove duplicate mutex_unlock from snd_soc_unregister_component()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 7 Aug 2017 02:06:40 +0000 (02:06 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Aug 2017 15:49:36 +0000 (16:49 +0100)
commit21a035287e28ec225fe7dfd1fffc509efd26a5db
treec897f502b0feb19a10d004e03d679372e3b0ae53
parentcf9e829eaf0195e722bc3a3929002a3fbe74dafa
ASoC: soc-core: remove duplicate mutex_unlock from snd_soc_unregister_component()

Current snd_soc_unregister_component() is using multiple mutex_unlock()
for found/non-found cases. But it is unreadable and confusable code.
This patch tidyup current code to be readable.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c