summaryrefslogtreecommitdiffstats
path: root/sound/soc/meson/aiu.h
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2020-02-17 10:20:19 +0100
committerMark Brown <broonie@kernel.org>2020-02-17 18:22:21 +0000
commit0247142233239dc235f8239aab5c7991250d4e66 (patch)
tree1353d492de76ab6bcea1a83d4252fb998c49a32d /sound/soc/meson/aiu.h
parentf07980d4ed60fbb35857b655c94b111f4ddf2abf (diff)
downloadlinux-stable-0247142233239dc235f8239aab5c7991250d4e66.tar.gz
linux-stable-0247142233239dc235f8239aab5c7991250d4e66.tar.bz2
linux-stable-0247142233239dc235f8239aab5c7991250d4e66.zip
ASoC: meson: aiu: simplify component addition
Now that the component name is unique within ASoC, there is no need to hack the debugfs prefix to add more than one ASoC component to a linux device. Remove the unnecessary function and use snd_soc_register_component() directly. Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> Link: https://lore.kernel.org/r/20200217092019.433402-1-jbrunet@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/meson/aiu.h')
-rw-r--r--sound/soc/meson/aiu.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sound/soc/meson/aiu.h b/sound/soc/meson/aiu.h
index 097c26de7b7c..06a968c55728 100644
--- a/sound/soc/meson/aiu.h
+++ b/sound/soc/meson/aiu.h
@@ -11,9 +11,7 @@ struct clk;
struct clk_bulk_data;
struct device;
struct of_phandle_args;
-struct snd_soc_component_driver;
struct snd_soc_dai;
-struct snd_soc_dai_driver;
struct snd_soc_dai_ops;
enum aiu_clk_ids {
@@ -45,12 +43,6 @@ int aiu_of_xlate_dai_name(struct snd_soc_component *component,
const char **dai_name,
unsigned int component_id);
-int aiu_add_component(struct device *dev,
- const struct snd_soc_component_driver *component_driver,
- struct snd_soc_dai_driver *dai_drv,
- int num_dai,
- const char *debugfs_prefix);
-
int aiu_hdmi_ctrl_register_component(struct device *dev);
int aiu_acodec_ctrl_register_component(struct device *dev);