diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-08-05 17:49:45 +0300 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2024-08-05 19:00:22 +0300 |
commit | 6eefd65ba6ae29ab801f6461e59c10f93dd496f8 (patch) | |
tree | 6207a357aef5c2993390936fec758c1ac92304ab /tools/perf/scripts/python/task-analyzer.py | |
parent | 70a4375e07fcbb771809f0af8b5f0df029ca660f (diff) | |
download | linux-6eefd65ba6ae29ab801f6461e59c10f93dd496f8.tar.xz |
leds: pca995x: Use device_for_each_child_node() to access device child nodes
The iterated nodes are direct children of the device node, and the
`device_for_each_child_node()` macro accounts for child node
availability.
`fwnode_for_each_available_child_node()` is meant to access the child
nodes of an fwnode, and therefore not direct child nodes of the device
node.
Use `device_for_each_child_node()` to indicate device's direct child
nodes.
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20240805-device_for_each_child_node-available-v3-2-48243a4aa5c0@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions