diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2019-08-08 14:54:39 +0900 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-08-09 18:12:37 +0100 |
commit | a48b561d873d1d9fda55782d275eff94ec647863 (patch) | |
tree | e71bdbaaff0fc32d132df96a4d07eb4b514b3dbb /sound/soc/soc-core.c | |
parent | 77b21d2822fdbfad19170516256c4c7f236054a9 (diff) | |
download | linux-stable-a48b561d873d1d9fda55782d275eff94ec647863.tar.gz linux-stable-a48b561d873d1d9fda55782d275eff94ec647863.tar.bz2 linux-stable-a48b561d873d1d9fda55782d275eff94ec647863.zip |
ASoC: soc-core: remove legacy style of aux_dev
Now all drivers are using snd_soc_dai_link_component for aux_dev.
Let's remove legacy style
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87h86s6w8x.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 56b99e340dda..4af382d52675 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1538,12 +1538,6 @@ static int soc_bind_aux_dev(struct snd_soc_card *card, int num) struct snd_soc_aux_dev *aux_dev = &card->aux_dev[num]; struct snd_soc_component *component; - /* remove me */ - if (aux_dev->codec_name) - aux_dev->dlc.name = aux_dev->codec_name; - if (aux_dev->codec_of_node) - aux_dev->dlc.of_node = aux_dev->codec_of_node; - /* codecs, usually analog devices */ component = soc_find_component(&aux_dev->dlc); if (!component) |