diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2024-08-26 08:58:01 +0200 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2024-08-28 11:54:22 -0700 |
commit | f92d67e23b8caa81f6322a2bad1d633b00ca000e (patch) | |
tree | 372c064d1361f77799a470daa6e785d3afe88433 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | f7e41b65bdc570335dec68d5f65f6317c3eaeeac (diff) |
clk: bcm: bcm53573: fix OF node leak in init
Driver code is leaking OF node reference from of_get_parent() in
bcm53573_ilp_init(). Usage of of_get_parent() is not needed in the
first place, because the parent node will not be freed while we are
processing given node (triggered by CLK_OF_DECLARE()). Thus fix the
leak by accessing parent directly, instead of of_get_parent().
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240826065801.17081-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions