> -----Original Message----- > From: Rob Herring <robh@xxxxxxxxxx> > Sent: Saturday, May 23, 2020 7:48 AM > To: Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx> > Cc: Bjorn Helgaas <bhelgaas@xxxxxxxxxx>; linux-pci@xxxxxxxxxxxxxxx; > linux-arm-kernel@xxxxxxxxxxxxxxxxxxx; Tan, Ley Foon > <ley.foon.tan@xxxxxxxxx>; rfi@xxxxxxxxxxxxxxxxxxxxxx > Subject: [PATCH 10/15] PCI: altera: Use pci_host_probe() to register host > > The altera host driver does the same host registration and bus scanning calls > as pci_host_probe, so let's use it instead. > > The only difference is pci_assign_unassigned_bus_resources() was called > instead of pci_bus_size_bridges() and pci_bus_assign_resources(). This > should be the same. > > Cc: Ley Foon Tan <ley.foon.tan@xxxxxxxxx> > Cc: rfi@xxxxxxxxxxxxxxxxxxxxxx > Signed-off-by: Rob Herring <robh@xxxxxxxxxx> > --- > drivers/pci/controller/pcie-altera.c | 17 +---------------- > 1 file changed, 1 insertion(+), 16 deletions(-) > Reviewed-by: Ley Foon Tan <ley.foon.tan@xxxxxxxxx> Regards Ley Foon