ASoC: tegra: Use devm_clk_get
authorVaishali Thakkar <vthakkar1994@gmail.com>
Mon, 3 Aug 2015 11:57:34 +0000 (17:27 +0530)
committerMark Brown <broonie@kernel.org>
Wed, 5 Aug 2015 13:01:43 +0000 (14:01 +0100)
commit8833c01af6aa8e42fcbc74d76646ead05d0183a7
tree22cf48d80a74a6bd6f30bbde9a22a02becbf80c0
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: tegra: Use devm_clk_get

This patch introduces the use of managed resource function
devm_clk_get instead of clk_get and removes corresponding calls
to clk_put in the probe and remove functions.

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/tegra30_ahub.c