commit | 8931bf6208776292b1b888dd8534229f63e2eaa2 | [log] [tgz] |
---|---|---|
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | Wed Apr 16 15:46:11 2014 +0300 |
committer | Mark Brown <broonie@linaro.org> | Fri Apr 18 17:59:59 2014 +0100 |
tree | f84ca5386a8cf40d361fd22a6c820a94a3066675 | |
parent | c9eaa447e77efe77b7fa4c953bd62de8297fd6c5 [diff] |
ASoC: Add resource managed snd_soc_register_platform() Simplify error handling and remove repetitive (and rarely executed) code for unregistration by providing a devm_snd_soc_register_platform() platform. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Signed-off-by: Mark Brown <broonie@linaro.org>