ASoC: stm: use asoc_substream_to_rtd()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 20 Jul 2020 01:18:01 +0000 (10:18 +0900)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jul 2020 18:07:23 +0000 (19:07 +0100)
commitddb4f06d620f442c444e010b8af8c001fb4e3d9b
treeaf5159bfbf49119703aaf5bc5aa5b7ca98086b7b
parentc09e34b799ee78a673676e71e14ee4fb0145db5e
ASoC: stm: 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/87pn8r0yus.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/stm/stm32_adfsdm.c
sound/soc/stm/stm32_sai_sub.c