summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJavier Carrasco <javier.carrasco.cruz@gmail.com>2024-04-04 13:13:27 +0200
committerGuenter Roeck <linux@roeck-us.net>2024-06-08 16:07:33 -0700
commit234c07400eb4f5d475e4055b11b5ed69f91d3732 (patch)
tree643df87d8d134bf7e24fd6b02864bbe1494cfd51 /tools/perf/scripts/python
parent55076454de05b2f5ce8f5ef459685e707a03703f (diff)
hwmon: (ltc2991) use device_for_each_child_node_scoped()
Switch to the _scoped() version introduced in commit 365130fd47af ("device property: Introduce device_for_each_child_node_scoped()") to remove the need for manual calling of fwnode_handle_put() in the paths where the code exits the loop early. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240404-hwmon_device_for_each_child_node_scoped-v1-1-53997abde43c@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions