diff options
| author | Drew Fustini <dfustini@tenstorrent.com> | 2024-10-09 04:16:48 +0300 |
|---|---|---|
| committer | Linus Walleij <linus.walleij@linaro.org> | 2024-10-09 15:42:07 +0300 |
| commit | 573cba282788c90b4ed01e21b9d3ba522fdcda17 (patch) | |
| tree | e3a977acc35f001d9306c967e1d2f5d2b52f8a70 /scripts/gdb/linux/radixtree.py | |
| parent | f3a3d006a443e3e39f97b4e71a8d134cda417109 (diff) | |
| download | linux-573cba282788c90b4ed01e21b9d3ba522fdcda17.tar.xz | |
pinctrl: th1520: Convert dt child node loop to scoped iterator
Convert th1520_pinctrl_dt_node_to_map() to use a scoped iterator with
for_each_available_child_of_node_scoped(). As a result, there is no need
to call of_node_put() anymore. The put_child label has been renamed to
free_map which is now a more accurate description.
Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
Link: https://lore.kernel.org/20241008-th1520-pinctrl-fixes-v3-3-5b60db446a49@tenstorrent.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions
