]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: soc-dapm: remove unnecessary definition
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 1 Jul 2025 00:10:20 +0000 (00:10 +0000)
committerMark Brown <broonie@kernel.org>
Mon, 7 Jul 2025 15:12:59 +0000 (16:12 +0100)
Below functions are already defined in soc-dapm.h, it is not necessary
in soc-dapm.c. Remove these

snd_soc_dapm_new_control()
snd_soc_dapm_new_control_unlocked()

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/87wm8shitv.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dapm.c

index f26f9e9d7ce742f68a259467bbd57f18d63224c4..091ab31ae42dd0a006f87328d13a5c771307ef97 100644 (file)
@@ -55,14 +55,6 @@ static int snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm,
        int (*connected)(struct snd_soc_dapm_widget *source,
                         struct snd_soc_dapm_widget *sink));
 
-struct snd_soc_dapm_widget *
-snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
-                        const struct snd_soc_dapm_widget *widget);
-
-struct snd_soc_dapm_widget *
-snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
-                        const struct snd_soc_dapm_widget *widget);
-
 static unsigned int soc_dapm_read(struct snd_soc_dapm_context *dapm, int reg);
 
 /* dapm power sequences - make this per codec in the future */