diff options
author | Sowjanya Komatineni <[email protected]> | 2020-01-13 23:24:17 -0800 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2020-04-21 16:53:12 +0200 |
commit | 0de6db30ef79b391cedd749801a49c485d2daf4b (patch) | |
tree | 7a65c3cd120a01b2875217b3ca28952c1bd9762a /lib/test_overflow.c | |
parent | 8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff) |
ASoC: tegra: Use device managed resource APIs to get the clock
tegra_asoc_utils uses clk_get() to get the clock and clk_put() to free
them explicitly.
This patch updates it to use device managed resource API devm_clk_get()
so the clock will be automatically released and freed when the device is
unbound and removes tegra_asoc_utils_fini() as its no longer needed.
Tested-by: Dmitry Osipenko <[email protected]>
Reviewed-by: Dmitry Osipenko <[email protected]>
Reviewed-by: Sameer Pujar <[email protected]>
Signed-off-by: Sowjanya Komatineni <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions