ASoC: simple-card.c: use snd_soc_{of_}get_dlc()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 20 Jun 2023 02:14:51 +0000 (02:14 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 20 Jun 2023 11:49:29 +0000 (12:49 +0100)
commit0baa2c3abc525c79c21ce64a1722f4034d042ac9
tree7927ab3818c6de90e2f2b98831c182247d39a6ba
parent14c9b25f632b561be33af99942833a618811ac3d
ASoC: simple-card.c: 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/87fs6mdgmc.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/generic/simple-card-utils.c
sound/soc/generic/simple-card.c