diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2015-01-05 12:52:41 +0300 |
---|---|---|
committer | Michael Turquette <mturquette@linaro.org> | 2015-01-18 00:52:41 +0300 |
commit | 27c76c43623fe835a2b652228363ed108373609d (patch) | |
tree | 6bac010e4a451d073e1d1d4070286fabede77cf2 /drivers/clk/samsung/clk-s5pv210.c | |
parent | 4e3c021fb995bcbb5d1f814d00584cb80eb904a8 (diff) | |
download | linux-27c76c43623fe835a2b652228363ed108373609d.tar.xz |
clk: exynos-audss: Fix memory leak on driver unbind or probe failure
The memory allocated by basic clock divider/gate/mux (struct clk_gate,
clk_divider and clk_mux) was leaking. During driver unbind or probe
failure the driver only unregistered the clocks.
Use clk_unregister_{gate,divider,mux} to release all resources.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/samsung/clk-s5pv210.c')
0 files changed, 0 insertions, 0 deletions