ASoC: soc-core: snd_soc_unregister_component() unregister all component
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 7 Aug 2017 02:06:55 +0000 (02:06 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 16 Aug 2017 12:05:14 +0000 (13:05 +0100)
commit2eccea8cdeb8fe455fc3a45b4e097f118449c3ef
tree8eebd4aeb0e6ac9883be7d3d0a302aef81764079
parent9b56741710c18fe97254d6b0d1ca0ebd7bc699c4
ASoC: soc-core: snd_soc_unregister_component() unregister all component

Current snd_soc_unregister_component() unregisters first found
component only which was specified by dev.
This style can't specify concrete component if system registered some
component with same dev. And system need to call this function many
times.
This patch unregister all related component by 1 call.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c