ASoC: soc-core: remove unneeded snd_soc_tplg_component_remove()
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Wed, 30 Oct 2019 01:26:10 +0000 (10:26 +0900)
committerMark Brown <broonie@kernel.org>
Wed, 30 Oct 2019 12:55:45 +0000 (12:55 +0000)
commite9904ed5e73af4fd00cf4fcf705420a385af45da
treef1e54cef15738e8d6564391a7e953d9547143675
parentd247568bb21b6665cc32dee8b0a9716d44bd11a7
ASoC: soc-core: remove unneeded snd_soc_tplg_component_remove()

snd_soc_tplg_component_remove() is pair of snd_soc_tplg_component_load(),
and it is topology related cleanup function.

The driver which called _load() needs to call _remove() by its responsibility.
Today, skl-pcm and topology are the user, and these are calling both
_load() and _remove().

soc-core doesn't need to call it.
This patch remove it.

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