OSDN Git Service

ASoC: soc-dapm: add for_each_card_widgets() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 9 Mar 2020 04:08:21 +0000 (13:08 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2020 13:35:27 +0000 (13:35 +0000)
commit14596692631eadbefba8419698cccfc23bfccd2b
tree27f034fb740ba28588ebfc163bc30b940c6c8b42
parentdf817f8e71e3a0256bd3d2d3a4e5399b409698f4
ASoC: soc-dapm: add for_each_card_widgets() macro

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

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/87r1y2goga.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-dapm.c
sound/soc/soc-topology.c