aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/sound/soc.h
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2023-09-26 06:27:06 +0000
committerMark Brown <broonie@kernel.org>2023-09-26 17:18:45 +0200
commitad484cc98f2c7ee8e22f63691562a7abae5a9832 (patch)
tree514421322f49eae39f77d4693995781c96df606e /include/sound/soc.h
parentASoC: sof: convert not to use asoc_xxx() (diff)
downloadwireguard-linux-ad484cc98f2c7ee8e22f63691562a7abae5a9832.tar.xz
wireguard-linux-ad484cc98f2c7ee8e22f63691562a7abae5a9832.zip
ASoC: remove asoc_xxx() compatible macro
No driver is using asoc_xxx() any more. This patch removes compatible macro for asoc_xxx(). Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Link: https://lore.kernel.org/r/878r8tfo06.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc.h')
-rw-r--r--include/sound/soc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h
index 45e005abe03b..63b57f58cc56 100644
--- a/include/sound/soc.h
+++ b/include/sound/soc.h
@@ -775,11 +775,6 @@ struct snd_soc_dai_link {
#endif
};
-/* REMOVE ME */
-#define asoc_link_to_cpu snd_soc_link_to_cpu
-#define asoc_link_to_codec snd_soc_link_to_codec
-#define asoc_link_to_platform snd_soc_link_to_platform
-
static inline struct snd_soc_dai_link_component*
snd_soc_link_to_cpu(struct snd_soc_dai_link *link, int n) {
return &(link)->cpus[n];
@@ -896,9 +891,6 @@ snd_soc_link_to_platform(struct snd_soc_dai_link *link, int n) {
#define COMP_CODEC_CONF(_name) { .name = _name }
#define COMP_DUMMY() { .name = "snd-soc-dummy", .dai_name = "snd-soc-dummy-dai", }
-/* REMOVE ME */
-#define asoc_dummy_dlc snd_soc_dummy_dlc
-
extern struct snd_soc_dai_link_component null_dailink_component[0];
extern struct snd_soc_dai_link_component snd_soc_dummy_dlc;
@@ -1146,11 +1138,6 @@ struct snd_soc_pcm_runtime {
struct snd_soc_component *components[]; /* CPU/Codec/Platform */
};
-/* REMOVE ME */
-#define asoc_rtd_to_cpu snd_soc_rtd_to_cpu
-#define asoc_rtd_to_codec snd_soc_rtd_to_codec
-#define asoc_substream_to_rtd snd_soc_substream_to_rtd
-
/* see soc_new_pcm_runtime() */
#define snd_soc_rtd_to_cpu(rtd, n) (rtd)->dais[n]
#define snd_soc_rtd_to_codec(rtd, n) (rtd)->dais[n + (rtd)->dai_link->num_cpus]