]> git.karo-electronics.de Git - linux-beck.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)
commit470805eb9f31be7b0b94cb8e0cbeb5910c47ce37
tree12909b564df3228eda23979184f3b3b2b112d2cc
parent8833c01af6aa8e42fcbc74d76646ead05d0183a7
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