ASoC: soc-core: remove snd_soc_rtdcom_del_all()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 12 Sep 2019 04:42:44 +0000 (13:42 +0900)
committerMark Brown <broonie@kernel.org>
Tue, 1 Oct 2019 11:13:37 +0000 (12:13 +0100)
commit353e16bf60458fae5927cf04ff668fc152fff465
tree32cf4a23deb3ece44956700ca1b143c3f7b6105b
parentd918a37610b1bf71faa86f589bd7604f71c1e05f
ASoC: soc-core: remove snd_soc_rtdcom_del_all()

If we can use devm_kzalloc(rtd->dev, xxx) for rtdcom,
we don't need to call snd_soc_rtdcom_del_all() for kfree().
This patch uses devm_kzalloc(rtd->dev, xxx) for rtdcom,
and remove snd_soc_rtdcom_del_all().

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