]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: soc.h: remove snd_soc_of_parse_audio_prefix()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 1 Apr 2026 00:19:06 +0000 (00:19 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 1 Apr 2026 12:00:00 +0000 (13:00 +0100)
No one is using snd_soc_of_parse_audio_prefix(). Remove it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://patch.msgid.link/877bqrttvp.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc.h

index d66164fd83e53f2e77a0101a5649c7d9b623cc04..f70edd9c23b271d55c858240aa71180ea25725e1 100644 (file)
@@ -1337,15 +1337,6 @@ void snd_soc_of_parse_node_prefix(struct device_node *np,
                                   struct snd_soc_codec_conf *codec_conf,
                                   struct device_node *of_node,
                                   const char *propname);
-static inline
-void snd_soc_of_parse_audio_prefix(struct snd_soc_card *card,
-                                  struct snd_soc_codec_conf *codec_conf,
-                                  struct device_node *of_node,
-                                  const char *propname)
-{
-       snd_soc_of_parse_node_prefix(card->dev->of_node,
-                                    codec_conf, of_node, propname);
-}
 
 int snd_soc_of_parse_audio_routing(struct snd_soc_card *card,
                                   const char *propname);