diff options
author | Drew Fustini <dfustini@tenstorrent.com> | 2024-10-08 18:16:48 -0700 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-10-09 14:42:07 +0200 |
commit | 573cba282788c90b4ed01e21b9d3ba522fdcda17 (patch) | |
tree | e3a977acc35f001d9306c967e1d2f5d2b52f8a70 /tools/perf/scripts/python/gecko.py | |
parent | f3a3d006a443e3e39f97b4e71a8d134cda417109 (diff) |
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 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions