diff options
| author | Yangtao Li <tiny.windzz@gmail.com> | 2018-12-26 08:14:42 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-29 10:21:37 +0100 |
| commit | d2e0e2234a9ee479f0902e46fe4c14cb69d0bd9f (patch) | |
| tree | 44390334ad70a3f4b7343691a14941c45c51b766 /scripts | |
| parent | 72dbfd616b642e2e6ea78bba6655a8f2959dc706 (diff) | |
clk: qoriq: fix refcount leak in clockgen_init()
[ Upstream commit 70af6c5b5270e8101f318c4b69cc98a726edfab9 ]
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: 0dfc86b3173f ("clk: qoriq: Move chip-specific knowledge into driver")
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
