summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-10-19 20:59:02 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-19 21:21:37 -0700
commitac2b6ce67275a4c777622fda623ebbda320f47da (patch)
tree95c1bf837d966928c79b7eb5eada3106b33af4a1 /tools/perf/scripts/python
parent272167499ffac79d57d96b90d0458e0dad54488c (diff)
Input: cap11xx - switch to for_each_child_of_node_scoped
Use the scoped variant of the macro to simplify the code and error handling. This makes the error handling more robust by ensuring that the child node is always freed. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20241010-input_automate_of_node_put-v1-1-ebc62138fbf8@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions