]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI/ACPI: Use acpi_pci_root info rather than looking it up again
authorTaku Izumi <izumi.taku@jp.fujitsu.com>
Fri, 21 Sep 2012 07:03:58 +0000 (16:03 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 24 Sep 2012 21:29:40 +0000 (15:29 -0600)
commit0f2bdfedcb8f1aaf54a0ab4934f33b3710692a19
treee2b9d8c64f8cdcc81d1ad7b01ee9c208b2a5513b
parent55bfe3c0c561783655a8ff2f6f3f19ac1362b132
PCI/ACPI: Use acpi_pci_root info rather than looking it up again

This patch changes the function signature of walk_root_bridge().

We can omit _STA, _SEG, and _BBN evaluation by passing not acpi_handle
but acpi_pci_root.  Now that acpi_pci_slot_add() which is the only
caller of walk_root_bridge() gets acpi_pci_root structure, changing
signature of walk_root_bridge() is reasonable.

[bhelgaas: changelog]
Signed-off-by: Taku Izumi <izumi.taku@jp.fujitsu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/acpi/pci_slot.c