diff options
| author | Hans Zhang <18255117159@163.com> | 2026-04-07 09:40:33 +0800 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2026-04-09 17:51:21 +0200 |
| commit | 873cc5560804f5270b1670f8bed4d55400343cf5 (patch) | |
| tree | 14443ed41a7a680a5441d23c34228b32949863e9 /tools/lib/python/kdoc/python_version.py | |
| parent | 5fa0e32ed4f4a8a62998d0c955311cbfe92919af (diff) | |
mmc: core: Simplify with scoped for each OF child loop
Use scoped for-each loop when iterating over device nodes to simplify the
code, but also to ensure the device node reference is automatically
released when the loop scope ends.
Signed-off-by: Hans Zhang <18255117159@163.com>
Reviewed-by: Shawn Lin <shawn.lin@linux.dev>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
