PCI: rpadlpar: Use for_each_child_of_node() and for_each_node_by_name()
authorQinglang Miao <miaoqinglang@huawei.com>
Wed, 16 Sep 2020 06:21:28 +0000 (14:21 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 17 Sep 2020 21:22:36 +0000 (16:22 -0500)
commit85d79c5281a954492aa0532954fd2ecb1a00cc3e
tree52adb712f10b33188e21e72cc6abe55e9b4d0276
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
PCI: rpadlpar: Use for_each_child_of_node() and for_each_node_by_name()

Use for_each_child_of_node() and for_each_node_by_name() macros instead of
open coding them.

Link: https://lore.kernel.org/r/20200916062128.190819-1-miaoqinglang@huawei.com
Signed-off-by: Qinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/hotplug/rpadlpar_core.c