ASoC: meson: aiu: simplify component addition
authorJerome Brunet <jbrunet@baylibre.com>
Mon, 17 Feb 2020 09:20:19 +0000 (10:20 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 17 Feb 2020 18:22:21 +0000 (18:22 +0000)
commit0247142233239dc235f8239aab5c7991250d4e66
tree1353d492de76ab6bcea1a83d4252fb998c49a32d
parentf07980d4ed60fbb35857b655c94b111f4ddf2abf
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>
sound/soc/meson/aiu-acodec-ctrl.c
sound/soc/meson/aiu-codec-ctrl.c
sound/soc/meson/aiu.c
sound/soc/meson/aiu.h