diff options
author | Taku Izumi <izumi.taku@jp.fujitsu.com> | 2012-09-21 16:03:58 +0900 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-24 15:29:40 -0600 |
commit | 0f2bdfedcb8f1aaf54a0ab4934f33b3710692a19 (patch) | |
tree | e2b9d8c64f8cdcc81d1ad7b01ee9c208b2a5513b /drivers/acpi/acpi_pad.c | |
parent | 55bfe3c0c561783655a8ff2f6f3f19ac1362b132 (diff) |
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>
Diffstat (limited to 'drivers/acpi/acpi_pad.c')
0 files changed, 0 insertions, 0 deletions