[PATCH] pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
Linus Walleij
linus.walleij at linaro.org
Mon Mar 14 18:24:12 PDT 2022
On Mon, Mar 7, 2022 at 1:02 PM Miaoqian Lin <linmq006 at gmail.com> wrote:
> The device_node pointer is returned by of_parse_phandle() with refcount
> incremented. We should use of_node_put() on it when done.
>
> Fixes: 1e747e59cc4d ("pinctrl: rockchip: base regmap supplied by a syscon")
> Fixes: 14dee8677e19 ("pinctrl: rockchip: let pmu registers be supplied by a syscon")
> Signed-off-by: Miaoqian Lin <linmq006 at gmail.com>
Patch applied.
Yours,
Linus Walleij
More information about the Linux-rockchip
mailing list