]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sti_uniperif: Ensure component is unregistered when unload module
authorAxel Lin <axel.lin@ingics.com>
Sat, 29 Aug 2015 15:06:32 +0000 (23:06 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 30 Aug 2015 11:16:55 +0000 (12:16 +0100)
commite345f1ca8b09734f202a7fce41db8343f34a8747
treeb7c696ea544c279344bd4760f3b5d2f38d656150
parentf8b1435458794a9cae3f6490063215d7d547d3ea
ASoC: sti_uniperif: Ensure component is unregistered when unload module

Use devm_snd_soc_register_component to ensure component is unregistered
when unload the module.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sti/sti_uniperif.c