aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parser.c
diff options
context:
space:
mode:
authorMiaoqian Lin <linmq006@gmail.com>2023-01-02 15:28:45 +0400
committerLinus Walleij <linus.walleij@linaro.org>2023-01-09 15:14:10 +0100
commitc818ae563bf99457f02e8170aabd6b174f629f65 (patch)
tree3576116dcabd005f9f33c93aa51ab86ade750419 /lib/parser.c
parentpinctrl: stm32: Fix refcount leak in stm32_pctrl_get_irq_domain (diff)
downloadlinux-rng-c818ae563bf99457f02e8170aabd6b174f629f65.tar.xz
linux-rng-c818ae563bf99457f02e8170aabd6b174f629f65.zip
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 <linmq006@gmail.com> Link: https://lore.kernel.org/r/20230102112845.3982407-1-linmq006@gmail.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/parser.c')
0 files changed, 0 insertions, 0 deletions