ASoC: add for_each_card_links() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 18 Sep 2018 01:29:16 +0000 (01:29 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 20 Sep 2018 17:20:02 +0000 (10:20 -0700)
commit98061fdbfccc02aa0fd6637c67a0524aab385b8d
treecc32efa84f2e26e1a579606af9e314614d630c0a
parent7fe072b4df5d0cc832eb758c1eed243c145a2dfc
ASoC: add for_each_card_links() macro

To be more readable code, this patch adds
new for_each_card_links() macro, and replace existing code to it.

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