diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-08-20 21:02:26 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-09-03 18:49:44 +0100 |
commit | 31c022a4f4bbdf9787bbb9549e37597344ee46b5 (patch) | |
tree | 857ee7971eabec98d0f06ebc6cb421c8db42557e /tools/perf/scripts/python/libxed.py | |
parent | 192be245741a1f3c05221b49282f3f4795aebb2c (diff) |
iio: adc: xilinx-ams: use device_* to iterate over device child nodes
Use `device_for_each_child_node_scoped()` in `ams_parse_firmware()`
to explicitly state device child node access, and simplify the child
node handling as it is not required outside the loop.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://patch.msgid.link/20240820-device_child_node_access-v3-1-1ee09bdedb9e@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions