]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit230bc2bd8bfc88a414d739b49782233544c2fd86
tree426c5ed5610eeacd37bc6024798bce1e085a7d4d
parentc8d64655d9860fecd0536645a555afe2d7570b6d
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