ASoC: soc-core: self contained soc_remove_link_dais()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 4 Sep 2019 00:14:57 +0000 (09:14 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 9 Sep 2019 10:02:23 +0000 (11:02 +0100)
commit4ca47d21bf7aa044c703688fa715862183dd6a3c
tree03a46a5edd2c73e7b92cecae9cee6378b1740882
parentb006c0c6ed0dc779e64a8d7a25f5cf316fa3562c
ASoC: soc-core: self contained soc_remove_link_dais()

Current soc_remove_link_dais() implementation is very half,
thus it is very difficult to read.

for_each_comp_order(xxx) {
for_each_card_rtds(xxx)
=> soc_remove_link_dais(xxx);
}

This patch does all for_each_xxx() under soc_remove_link_dais(),
and makes it to self contained.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/871rwwq5mm.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c