PCI: aardvark: Convert to use pci_host_probe()
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 29 Jun 2018 09:16:20 +0000 (11:16 +0200)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 6 Jul 2018 12:11:35 +0000 (13:11 +0100)
commitc8e144f8ab00e6c4a070a932ef9c57db09aa41cf
tree0199677dd540b184ffb20ddb818f551b5643ac52
parent91a2968e245d6ba616db37001fa1a043078b1a65
PCI: aardvark: Convert to use pci_host_probe()

Part of advk_pcie_probe() is exactly an open-coded version of
pci_host_probe(). So instead of duplicating this code, use
pci_host_probe() directly.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[lorenzo.pieralisi@arm.com: updated commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/controller/pci-aardvark.c