summaryrefslogtreecommitdiff
path: root/drivers/clk/mvebu/kirkwood.c
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2018-12-26 16:36:58 +0300
committerStephen Boyd <sboyd@kernel.org>2018-12-28 22:42:41 +0300
commita3c24050bdf70c958a8d98c2823b66ea761e6a31 (patch)
treeb0e5aad6fbfa515330758640672b2b36afe3947b /drivers/clk/mvebu/kirkwood.c
parent567177024e0313e4f0dcba7ba10c0732e50e655d (diff)
downloadlinux-a3c24050bdf70c958a8d98c2823b66ea761e6a31.tar.xz
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/clk/mvebu/kirkwood.c')
0 files changed, 0 insertions, 0 deletions