PCI: Simplify pci_bus_distribute_available_resources()
authorNicholas Johnson <nicholas.johnson-opensource@outlook.com.au>
Sat, 22 Jun 2019 16:43:46 +0000 (11:43 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 2 Jul 2019 18:56:26 +0000 (13:56 -0500)
commit5c6bcc344b18dfb3b0ddcca6c26f6858879f73bf
tree7c3829214ea44eba8feb58f07ead8115b1e22f1e
parent85dc04136e86680378546afb808357a58c06061c
PCI: Simplify pci_bus_distribute_available_resources()

Reorder pci_bus_distribute_available_resources() to group related code
together.  No functional change intended.

Link: https://lore.kernel.org/r/PS2P216MB0642C7A485649D2D787A1C6F80000@PS2P216MB0642.KORP216.PROD.OUTLOOK.COM
Link: https://lore.kernel.org/r/20190622210310.180905-2-helgaas@kernel.org
Signed-off-by: Nicholas Johnson <nicholas.johnson-opensource@outlook.com.au>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
drivers/pci/setup-bus.c