ASoC: soc-core: soc_probe_dai() code simplification
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 14 Feb 2018 02:58:03 +0000 (02:58 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 14 Feb 2018 11:57:26 +0000 (11:57 +0000)
commit7a2ccad58106696b7909815cc7ab359ae2743bcc
treefaecb646a1fff2aa530ec9e7248df38cf415ea13
parent6b49087912e311bc884d36874592595508630b88
ASoC: soc-core: soc_probe_dai() code simplification

Current soc_probe_dai() is using deep nested condition.
Thus, it is difficult to read/understand.
This patch simplification it.

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