From: Taku Izumi Date: Tue, 18 Sep 2012 06:23:23 +0000 (+0900) Subject: PCI/ACPI: Use acpi_driver_data() rather than searching acpi_pci_roots X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~79^2~2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cd4faf9c34b27cbb6bcc70a4f1d1759f2e6fa7fd;p=pandora-kernel.git PCI/ACPI: Use acpi_driver_data() rather than searching acpi_pci_roots This patch changes the implementation of acpi_pci_find_root(). We can access acpi_pci_root without scanning acpi_pci_roots list. If hostbridge hotplug is supported, acpi_pci_roots list will be protected by mutex. We should not access acpi_pci_roots list if preventable to lessen deadlock risk. Signed-off-by: Taku Izumi Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed