]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: core: Add devm_snd_soc_register_card()
authorMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 17:02:05 +0000 (18:02 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 16 Sep 2013 23:50:06 +0000 (00:50 +0100)
commit86abee4dd64d47483971c822b200dc5bdd853084
treeeda5a0e77010c93620b288ded2b9b1cdff85a977
parentab553c148a24ed8b10406225ac908a8b6564a538
ASoC: core: Add devm_snd_soc_register_card()

Simplify error handling and remove repetitive (and rarely executed) code
for unregistration by providing a devm_snd_soc_register() card.

Signed-off-by: Mark Brown <broonie@linaro.org>
Acked-by: Liam Girdwood <liam.r.girdwood@linux.intel.com>
include/sound/soc.h
sound/soc/soc-devres.c