diff options
author | Yangtao Li <tiny.windzz@gmail.com> | 2018-12-26 14:36:58 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-12-28 20:42:41 +0100 |
commit | a3c24050bdf70c958a8d98c2823b66ea761e6a31 (patch) | |
tree | b0e5aad6fbfa515330758640672b2b36afe3947b /drivers/cpufreq/gx-suspmod.c | |
parent | clk: vf610: fix refcount leak in vf610_clocks_init() (diff) | |
download | linux-a3c24050bdf70c958a8d98c2823b66ea761e6a31.tar.xz linux-a3c24050bdf70c958a8d98c2823b66ea761e6a31.zip |
clk: armada-370: fix refcount leak in a370_clk_init()
The of_find_compatible_node() returns a node pointer with refcount
incremented, but there is the lack of use of the of_node_put() when
done. Add the missing of_node_put() to release the refcount.
Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Fixes: 07ad6836fa21 ("clk: mvebu: armada-370: maintain clock init order")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/cpufreq/gx-suspmod.c')
0 files changed, 0 insertions, 0 deletions