diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-04-04 13:13:28 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2024-06-08 16:07:33 -0700 |
commit | 1ee123794106db34e0248890a8e3388db404108b (patch) | |
tree | e19606939b54b52ca4812fcb29648d2d207d5411 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 234c07400eb4f5d475e4055b11b5ed69f91d3732 (diff) |
hwmon: (gsc-hwmon) 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-2-53997abde43c@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions