mbox series

[0/2] Use helper function for_each_child_of_node()

Message ID 20240822085430.25753-1-zhangzekun11@huawei.com (mailing list archive)
Headers show
Series Use helper function for_each_child_of_node() | expand

Message

Zhang Zekun Aug. 22, 2024, 8:54 a.m. UTC
Use for_each_child_of_node() to iterate through the device_node, this
can make code more simple.

Zhang Zekun (2):
  powerpc/powermac/pfunc_base: Use helper function
    for_each_child_of_node()
  powerpc/pseries/dlpar: Use helper function for_each_child_of_node()

 arch/powerpc/platforms/powermac/pfunc_base.c | 2 +-
 arch/powerpc/platforms/pseries/dlpar.c       | 5 +----
 2 files changed, 2 insertions(+), 5 deletions(-)

Comments

Michael Ellerman Sept. 6, 2024, 11:52 a.m. UTC | #1
On Thu, 22 Aug 2024 16:54:28 +0800, Zhang Zekun wrote:
> Use for_each_child_of_node() to iterate through the device_node, this
> can make code more simple.
> 
> Zhang Zekun (2):
>   powerpc/powermac/pfunc_base: Use helper function
>     for_each_child_of_node()
>   powerpc/pseries/dlpar: Use helper function for_each_child_of_node()
> 
> [...]

Applied to powerpc/next.

[1/2] powerpc/powermac/pfunc_base: Use helper function for_each_child_of_node()
      https://git.kernel.org/powerpc/c/197116e2dec8d23888ce76044fe673480afceff0
[2/2] powerpc/pseries/dlpar: Use helper function for_each_child_of_node()
      https://git.kernel.org/powerpc/c/46f4bbb8aac2b876355cdefdacd1971b65f8b631

cheers