diff options
| author | Miaoqian Lin <[email protected]> | 2023-01-02 15:28:45 +0400 |
|---|---|---|
| committer | Linus Walleij <[email protected]> | 2023-01-09 15:14:10 +0100 |
| commit | c818ae563bf99457f02e8170aabd6b174f629f65 (patch) | |
| tree | 3576116dcabd005f9f33c93aa51ab86ade750419 /tools/perf/scripts/python | |
| parent | dcef18c8ac40aa85bb339f64c1dd31dd458b06fb (diff) | |
pinctrl: rockchip: Fix refcount leak in rockchip_pinctrl_parse_groups
of_find_node_by_phandle() returns a node pointer with refcount incremented,
We should use of_node_put() on it when not needed anymore.
Add missing of_node_put() to avoid refcount leak.
Fixes: d3e5116119bd ("pinctrl: add pinctrl driver for Rockchip SoCs")
Signed-off-by: Miaoqian Lin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions