diff options
| author | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-02-25 14:27:14 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-03-25 19:53:08 +0000 |
| commit | 582021f4e9f8003146aeec2125fafeadfe1139f8 (patch) | |
| tree | e00e070be9b0d333adc58564ba06ddf17e3326fa /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 5cfb5587f9145ea4e6de4e5c87f9bc60b6587e3b (diff) | |
iio: adc: rcar-gyroadc: use for_each_available_child_node_scoped()
Using automated cleanup to replace of_node_put() handling allows for
a simplfied flow by enabling direct returns on errors.
Non available child nodes should never have been considered; that
is ones where status != okay and was defined.
Reviewed-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20240225142714.286440-5-jic23@kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
