OSDN Git Service

ASoC: add for_each_card_components() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 18 Sep 2018 01:29:55 +0000 (01:29 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 20 Sep 2018 17:22:58 +0000 (10:22 -0700)
commitf70f18f7d459b7958a4d3944396e2bc4a9f7ed72
tree582fe6db59657040b02a73ae05822468c190b906
parentbcb1fd1fcd6507ba5a1f8610550135dc367aedb7
ASoC: add for_each_card_components() macro

To be more readable code, this patch adds
new for_each_card_components() 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/intel/boards/broadwell.c
sound/soc/intel/boards/bytcr_rt5640.c
sound/soc/intel/boards/bytcr_rt5651.c
sound/soc/intel/boards/cht_bsw_rt5672.c
sound/soc/soc-core.c