ASoC: soc-dapm.c: replace snd_soc_dapm_wcache to snd_soc_dapm_widget
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 19 Oct 2022 00:35:57 +0000 (00:35 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 19 Oct 2022 12:05:25 +0000 (13:05 +0100)
commit86b94c396bb25459affbf1160ee1efaa61e38be2
treec3784719504d1809dbd5cd1ee14aefa8c4049881
parentfd65e099235f99415178484b328cc230ad021d18
ASoC: soc-dapm.c: replace snd_soc_dapm_wcache to snd_soc_dapm_widget

Current ASoC has snd_soc_dapm_wcache, but its member is only
snd_soc_dapm_widget.

struct snd_soc_dapm_wcache {
struct snd_soc_dapm_widget *widget;
};

It is no meaning for now, and makes code unreadable.
This patch replace snd_soc_dapm_wcache to snd_soc_dapm_widget directly.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://lore.kernel.org/r/87a65stztf.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c