Commit 89388f8
pinctrl/rockchip: Add missing of_node_put() in rockchip_pinctrl_probe
The device_node pointer is returned by of_parse_phandle() with refcount
incremented. We should use of_node_put() on it when done.
Fixes: 1e747e5 ("pinctrl: rockchip: base regmap supplied by a syscon")
Fixes: 14dee86 ("pinctrl: rockchip: let pmu registers be supplied by a syscon")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220307120234.28657-1-linmq006@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>1 parent c09ac19 commit 89388f8
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2693 | 2693 | | |
2694 | 2694 | | |
2695 | 2695 | | |
| 2696 | + | |
2696 | 2697 | | |
2697 | 2698 | | |
2698 | 2699 | | |
| |||
2725 | 2726 | | |
2726 | 2727 | | |
2727 | 2728 | | |
| 2729 | + | |
2728 | 2730 | | |
2729 | 2731 | | |
2730 | 2732 | | |
| |||
0 commit comments