ASoC: sunxi: use asoc_substream_to_rtd()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 20 Jul 2020 01:17:57 +0000 (10:17 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jul 2020 18:07:23 +0000 (19:07 +0100)
commitc09e34b799ee78a673676e71e14ee4fb0145db5e
treec52ae8984f8375ab3ee80b2c0f01e3ca5e28b828
parent95ebd023e1c963ef8727776ca158f69ad83ddd92
ASoC: sunxi: use asoc_substream_to_rtd()

Now we can use asoc_substream_to_rtd() macro,
let's use it.

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