OSDN Git Service

PCI: xgene: Use pci_host_probe() to register host
authorRob Herring <robh@kernel.org>
Fri, 22 May 2020 23:48:26 +0000 (17:48 -0600)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Fri, 10 Jul 2020 10:50:23 +0000 (11:50 +0100)
commit97c5372aeb5b43ab9d3f3db08652de8e8988b226
tree8a2cd1da786085dce2d3807a698059741001ff8d
parenta4b21b858b56d728021ad72ad7c1322d8772b2a6
PCI: xgene: Use pci_host_probe() to register host

The xgene host driver does the same host registration and bus scanning
calls as pci_host_probe, so let's use it instead.

Link: https://lore.kernel.org/r/20200522234832.954484-10-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Toan Le <toan@os.amperecomputing.com>
drivers/pci/controller/pci-xgene.c