RE: [PATCH 10/15] PCI: altera: Use pci_host_probe() to register host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----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




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux