]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: mvebu: Use for_each_available_child_of_node() to walk child nodes
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Sep 2015 17:17:42 +0000 (18:17 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 8 Oct 2015 16:22:58 +0000 (11:22 -0500)
commit2aee2ed2474bcd66a628f18412826165cdca1b4c
tree11e046ccb5704ed71af90865c41454bd2dca5b27
parent7de36cd5742be100641684349cd7a70715b8cf8d
PCI: mvebu: Use for_each_available_child_of_node() to walk child nodes

Rather than using for_each_child_of_node() and testing each child's
availability, use the for_each_available_child_of_node() helper instead.

Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> (Armada XP GP)
Tested-by: Andrew Lunn <andrew@lunn.ch> (Kirkwood DIR665)
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
drivers/pci/host/pci-mvebu.c