PCI: Factor DT-specific pci_bus_find_domain_nr() code out
authorTomasz Nowicki <tn@semihalf.com>
Fri, 10 Jun 2016 19:55:15 +0000 (21:55 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 10 Jun 2016 23:28:32 +0000 (18:28 -0500)
commit1a4f93f7112fd92383534f4c23d7b24fd4f8833c
tree943aa86b38c33e0e298bd217e1302cfef30bc3fe
parent9c7cb891ecfea3b88e4fa255afeec0da84ea6a86
PCI: Factor DT-specific pci_bus_find_domain_nr() code out

pci_bus_find_domain_nr() retrieves the host bridge domain number in a
DT-specific way.  Rename it to of_pci_bus_find_domain_nr() to reflect that,
so we can add a corresponding function for ACPI.

[bhelgaas: changelog]
Signed-off-by: Tomasz Nowicki <tn@semihalf.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/pci.c