]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tegra: Convert to managed resources
authorVaishali Thakkar <vthakkar1994@gmail.com>
Thu, 13 Aug 2015 07:29:21 +0000 (12:59 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 14 Aug 2015 16:29:32 +0000 (17:29 +0100)
commit3bc88c7406aeb33ad50857c831d67b40f2ecb893
tree12909b564df3228eda23979184f3b3b2b112d2cc
parent03feed5d90643170db2025cc143a146907883dd4
ASoC: tegra: Convert to managed resources

Use managed resource functions devm_clk_put and
devm_snd_soc_register_component to simplify error handling.

To be compatible with the change various gotos are replaced
with direct returns, and unneeded labels are dropped.

Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra20_spdif.c