Commit 197116e2 authored by Zhang Zekun's avatar Zhang Zekun Committed by Michael Ellerman
Browse files

powerpc/powermac/pfunc_base: Use helper function for_each_child_of_node()



for_each_child_of_node() can help to iterate through the device_node,
and we don't need to do it manually. No functional change with this
conversion.

Signed-off-by: default avatarZhang Zekun <zhangzekun11@huawei.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240822085430.25753-2-zhangzekun11@huawei.com
parent 8ae4f16f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment