Re: [PATCH v2] pinctrl: ingenic: add missing call to of_node_put()

2021-03-03 Thread Linus Walleij
On Fri, Feb 26, 2021 at 2:35 AM Yang Li wrote: > In one of the error paths of the for_each_child_of_node() loop in > ingenic_gpio_probe, add missing call to of_node_put(). > > Fix the following coccicheck warning: > ./drivers/pinctrl/pinctrl-ingenic.c:2485:1-23: WARNING: Function > "for_each_chil

Re: [PATCH v2] pinctrl: ingenic: add missing call to of_node_put()

2021-02-26 Thread Paul Cercueil
Hi, Le ven. 26 févr. 2021 à 9:34, Yang Li a écrit : In one of the error paths of the for_each_child_of_node() loop in ingenic_gpio_probe, add missing call to of_node_put(). Fix the following coccicheck warning: ./drivers/pinctrl/pinctrl-ingenic.c:2485:1-23: WARNING: Function "for_each_child_o

[PATCH v2] pinctrl: ingenic: add missing call to of_node_put()

2021-02-25 Thread Yang Li
In one of the error paths of the for_each_child_of_node() loop in ingenic_gpio_probe, add missing call to of_node_put(). Fix the following coccicheck warning: ./drivers/pinctrl/pinctrl-ingenic.c:2485:1-23: WARNING: Function "for_each_child_of_node" should have of_node_put() before return around li