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)
commite12909107c30efccf570ac67802df5d2eec4cabd
treeb7c696ea544c279344bd4760f3b5d2f38d656150
parent36cc093520b9a6348292c253d3ec03bb67a84da8
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