]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: mvebu: Use of_get_available_child_count()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 23 Sep 2015 17:17:37 +0000 (18:17 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 8 Oct 2015 16:22:52 +0000 (11:22 -0500)
commit7de36cd5742be100641684349cd7a70715b8cf8d
tree6e1e64b869003ab115de70ee43ef2db401e76b53
parent79e3f6ce167ff429084bfdd839e30d7983011108
PCI: mvebu: Use of_get_available_child_count()

Rather than open-coding of_get_available_child_count(), use the provided
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