macintosh: Use for_each_child_of_node() macro
authorZou Wei <zou_wei@huawei.com>
Mon, 7 Jun 2021 03:01:48 +0000 (11:01 +0800)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 4 May 2022 09:37:46 +0000 (19:37 +1000)
commit6c1e5600b7c305fe2b7c4967c14c4d0cc5a13fae
tree426c5ed5610eeacd37bc6024798bce1e085a7d4d
parent87ccc6684d3b57e3073f77cf28396b3037154193
macintosh: Use for_each_child_of_node() macro

Use for_each_child_of_node() macro instead of open coding it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1623034908-30525-1-git-send-email-zou_wei@huawei.com
drivers/macintosh/macio_asic.c