diff options
| author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2025-02-12 02:28:43 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2025-02-16 23:51:05 +0000 |
| commit | 257a060fe219bb0dcb98f12ce34f04eca6d08352 (patch) | |
| tree | 3d4c7ffb0a1bcd7b387cbcae6a448bf02c1326c6 /include/sound | |
| parent | 0c4a06395156d16ea33e959fccea84e4cfec04c4 (diff) | |
| download | linux-257a060fe219bb0dcb98f12ce34f04eca6d08352.tar.gz | |
ASoC: remove update from snd_soc_card
snd_soc_card :: update is used only for passing parameters to
dapm_widget_update() like below.
card->update = update;
ret = soc_dapm_xxx(card, ...);
card->update = NULL;
Let's passing it via function parameter and remove update from
snd_soc_card.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87ldubyjz9.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
| -rw-r--r-- | include/sound/soc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 62c90ef40f1a5d..644cfe26022edc 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -1106,7 +1106,6 @@ struct snd_soc_card { /* Generic DAPM context for the card */ struct snd_soc_dapm_context dapm; struct snd_soc_dapm_stats dapm_stats; - struct snd_soc_dapm_update *update; #ifdef CONFIG_DEBUG_FS struct dentry *debugfs_card_root; |
