ASoC: qcom: use snd_soc_{of_}get_dlc()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 20 Jun 2023 02:14:24 +0000 (02:14 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 20 Jun 2023 11:49:24 +0000 (12:49 +0100)
commit6cf881b7f1608fd5625d916380ed57d45c2879e9
treeced1829bab19d6a6a76e3ae29c82ac7ed6f0e4ab
parentaa560f5e796ce63074942251197c7161db2392d3
ASoC: qcom: use snd_soc_{of_}get_dlc()

Current ASoC has snd_soc_{of_}get_dai_name() to get DAI name
for dlc (snd_soc_dai_link_component).
But we now can use snd_soc_{of_}get_dlc() for it. Let's use it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87mt0udgn3.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/common.c