diff options
author | ZhangPeng <zhangpeng362@huawei.com> | 2022-11-22 08:58:53 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-11-22 09:35:27 +0100 |
commit | a8acc11643082a706de86a19f1f824712d971984 (patch) | |
tree | 4d7caac661d239d4ef5423b284e8c105e7f4fc8d /drivers/pinctrl/bcm | |
parent | pinctrl: starfive: Use existing variable gpio (diff) | |
download | linux-a8acc11643082a706de86a19f1f824712d971984.tar.xz linux-a8acc11643082a706de86a19f1f824712d971984.zip |
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/pinctrl/bcm')
0 files changed, 0 insertions, 0 deletions