diff options
author | Yang Li <[email protected]> | 2021-02-26 09:34:57 +0800 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2021-03-10 14:41:13 +0100 |
commit | d2cd54c24e80b3da2d3071311a280aa19b782438 (patch) | |
tree | fecd64d4d2a8c9a96e3edf368342348607297b01 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | b37c35781d9ad929c150b2b0b1eb0070a312585b (diff) |
pinctrl: ingenic: add missing call to of_node_put()
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
line 2489.
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Acked-by: Paul Cercueil <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions