summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2012-09-24 20:51:23 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2012-09-24 20:51:23 (GMT)
commit059e4ba292c69cb400cda92fbd37f25d4eec564b (patch)
treec9c3682700550fadeba47b2253c48592f8c5c97d /drivers/acpi
parentc29aabe22eafb4914aecebab6e99623894d81564 (diff)
downloadlinux-fsl-qoriq-059e4ba292c69cb400cda92fbd37f25d4eec564b.tar.xz
PCI/ACPI: Use DEVICE_ACPI_HANDLE rather than searching acpi_pci_roots
When we bind a device to an ACPI handle, the handle is stored in dev->archdata.acpi_handle. For such devices, there's no need to search the acpi_pci_roots list with acpi_get_pci_rootbridge_handle(); we can just use DEVICE_ACPI_HANDLE(dev) directly. [bhelgaas: changelog, reorder "if" to avoid negation] Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Len Brown <lenb@kernel.org> Cc: linux-acpi@vger.kernel.org
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions