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: NMark Brown <broonie@linaro.org> Acked-by: NLiam Girdwood <liam.r.girdwood@linux.intel.com>
Showing
想要评论请 注册 或 登录