ASoC: soc-core: merge soc_new_pcm_runtime() and soc_rtd_init()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 12 Sep 2019 04:40:08 +0000 (13:40 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:12:34 +0000 (12:12 +0100)
commit6e864344873f19120f742c19d15a8c53e7247c6a
treeff0903ff802daaad460f26140fc667a34bbcd0a2
parent929deb849b9e4319015070ead7ca976a4f16e303
ASoC: soc-core: merge soc_new_pcm_runtime() and soc_rtd_init()

"rtd"      is handled by soc_xxx_pcm_runtime(), and
"rtd->dev" is handled by soc_rtd_xxx().

There is no reason to separate these, and it makes code complex.
We can create these in the same time.

This patch merges soc_rtd_init() into soc_new_pcm_runtime().

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