diff options
author | Julia Lawall <Julia.Lawall@inria.fr> | 2023-09-07 11:55:18 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-09-11 17:16:36 +0200 |
commit | 8a81cf96f5510aaf9a65d103f7405079a7b0fcc5 (patch) | |
tree | 935423778c6265aa58f0a6741a09dda91285d761 /drivers/thermal/ti-soc-thermal/ti-thermal-common.c | |
parent | Linux 6.6-rc1 (diff) | |
download | linux-8a81cf96f5510aaf9a65d103f7405079a7b0fcc5.tar.xz linux-8a81cf96f5510aaf9a65d103f7405079a7b0fcc5.zip |
thermal/of: add missing of_node_put()
for_each_child_of_node performs an of_node_get on each
iteration, so a break out of the loop requires an
of_node_put.
This was done using the Coccinelle semantic patch
iterators/for_each_child.cocci
Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/thermal/ti-soc-thermal/ti-thermal-common.c')
0 files changed, 0 insertions, 0 deletions