ASoC: soc-dapm.c: replace snd_soc_dapm_wcache to snd_soc_dapm_widget
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 17 Oct 2022 23:36:27 +0000 (23:36 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 18 Oct 2022 18:16:35 +0000 (19:16 +0100)
commit03e13efbb2113412ae7879258a82bdae86fc72e2
tree072b2a19e24d1a6231a4c8c96d4b4ad31cd52cec
parenta474dce8aa95752eed03436515e80425f630a9da
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>
Link: https://lore.kernel.org/r/871qr6qayt.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c