diff options
author | ZhangPeng <zhangpeng362@huawei.com> | 2022-11-22 10:58:53 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-11-22 11:35:27 +0300 |
commit | a8acc11643082a706de86a19f1f824712d971984 (patch) | |
tree | 4d7caac661d239d4ef5423b284e8c105e7f4fc8d /drivers/soc | |
parent | ac8a616c32e12f01878d54f2e7077720dc3dc305 (diff) | |
download | linux-a8acc11643082a706de86a19f1f824712d971984.tar.xz |
pinctrl: k210: call of_node_put()
Since for_each_available_child_of_node() will increase the refcount of
node, we need to call of_node_put() manually when breaking out of the
iteration.
Fixes: d4c34d09ab03 ("pinctrl: Add RISC-V Canaan Kendryte K210 FPIOA driver")
Signed-off-by: ZhangPeng <zhangpeng362@huawei.com>
Reviewed-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Link: https://lore.kernel.org/r/20221122075853.2496680-1-zhangpeng362@huawei.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions