summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2018-12-26 08:29:02 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-29 10:21:37 +0100
commit20b422401ed72d1a7839cd8b073d0d26534f358b (patch)
treeb462984ca893a043f6d0baeb4215b8231f958d84 /scripts
parentd2e0e2234a9ee479f0902e46fe4c14cb69d0bd9f (diff)
clk: socfpga: fix refcount leak
[ Upstream commit 7f9705beeb3759e69165e7aff588f6488ff6c1ac ] 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> Fixes: 5343325ff3dd ("clk: socfpga: add a clock driver for the Arria 10 platform") Fixes: a30d27ed739b ("clk: socfpga: fix clock driver for 3.15") Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions