aboutsummaryrefslogtreecommitdiff
path: root/include/sound/soc-component.h
diff options
context:
space:
mode:
authorGravatar Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> 2020-05-15 09:48:02 +0900
committerGravatar Mark Brown <broonie@kernel.org> 2020-05-18 16:15:16 +0100
commit0812a08ac8d054efc6cf2895d3b0e82c8731f8e9 (patch)
tree8ea1162c42076d6319ecc958168234e7c0daed60 /include/sound/soc-component.h
parentASoC: dwc: use snd_soc_xxx_active() (diff)
downloadlinux-0812a08ac8d054efc6cf2895d3b0e82c8731f8e9.tar.gz
linux-0812a08ac8d054efc6cf2895d3b0e82c8731f8e9.tar.bz2
linux-0812a08ac8d054efc6cf2895d3b0e82c8731f8e9.zip
ASoC: cleanup dai / component active code
No one is using dai->active, snd_soc_component_is_active(). Let's remove these. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Link: https://lore.kernel.org/r/87imgy58hp.wl-kuninori.morimoto.gx@renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/soc-component.h')
-rw-r--r--include/sound/soc-component.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/sound/soc-component.h b/include/sound/soc-component.h
index f39e1084850e..5663891148e3 100644
--- a/include/sound/soc-component.h
+++ b/include/sound/soc-component.h
@@ -389,12 +389,6 @@ static inline void *snd_soc_component_get_drvdata(struct snd_soc_component *c)
return dev_get_drvdata(c->dev);
}
-static inline bool snd_soc_component_is_active(
- struct snd_soc_component *component)
-{
- return component->active != 0;
-}
-
static inline unsigned int
snd_soc_component_active(struct snd_soc_component *component)
{