ASoC: add for_each_component() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 21 Sep 2018 05:23:01 +0000 (05:23 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 21 Sep 2018 17:12:43 +0000 (10:12 -0700)
commit368dee9459472b44f760a35cd07a6f3b90b3e549
tree68855f6fb3d1f2aa1197768f7b55ef7ac46e16e6
parent624d1a7cd8991e33dad96ab4629a52c412540e65
ASoC: add for_each_component() macro

To be more readable code, this patch adds
new for_each_component() 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>
sound/soc/soc-core.c