From: Taku Izumi Date: Fri, 21 Sep 2012 07:03:58 +0000 (+0900) Subject: PCI/ACPI: Use acpi_pci_root info rather than looking it up again X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~79^2~2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f2bdfedcb8f1aaf54a0ab4934f33b3710692a19;p=pandora-kernel.git 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 Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed