]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: soc-dapm: add for_each_card_dapms() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 9 Mar 2020 04:08:16 +0000 (13:08 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 10 Mar 2020 13:35:26 +0000 (13:35 +0000)
commita2cdd9a086c6d3250f65df679e35911e5ceef6bb
treecab227aad44c209e67805489cc627c19c48049f3
parent4c4bdf4898857685881a5c90bb869206d21bf9ee
ASoC: soc-dapm: add for_each_card_dapms() macro

To be more readable code, this patch adds
new for_each_card_dapms() 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/87sgiigogf.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h
sound/soc/soc-dapm.c