ASoC: soc-core: soc_find_component() uses snd_soc_dai_link_component
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 20 Jun 2019 00:49:27 +0000 (09:49 +0900)
committerMark Brown <broonie@kernel.org>
Mon, 24 Jun 2019 16:23:42 +0000 (17:23 +0100)
commitc1e230f0f7a3cc640317aa78389258a2fa54bcde
treea16886aa976502d582ae18c4b92cc1a530f938df
parenta9ec84966f6d887b9066029596eb361b5d2af214
ASoC: soc-core: soc_find_component() uses snd_soc_dai_link_component

soc_find_component() is using "of_node" and "name" to finding component,
but we should use snd_soc_dai_link_component now, because it is created
to such purpose.

This patch uses snd_soc_dai_link_component for soc_find_component().

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c