From: Taku Izumi Date: Tue, 18 Sep 2012 06:22:35 +0000 (+0900) Subject: PCI/ACPI: Pass acpi_pci_root to acpi_pci_drivers' add/remove interface X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~79^2~2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55bfe3c0c561783655a8ff2f6f3f19ac1362b132;p=pandora-kernel.git PCI/ACPI: Pass acpi_pci_root to acpi_pci_drivers' add/remove interface This patch changes .add/.remove interfaces of acpi_pci_driver. In the current implementation acpi_handle is passed as a parameter of .add/.remove interface. However, the acpi_pci_root structure contains more useful information than just the acpi_handle. This enables us to avoid some useless lookups in each acpi_pci_driver. Note: This changes interfaces used by acpi_pci_register_driver(), an exported symbol. This patch updates all the in-kernel users, but any out-of-kernel acpi_pci_register_driver() users will need updates. [bhelgaas: changelog] Signed-off-by: Taku Izumi Signed-off-by: Bjorn Helgaas --- Reading git-diff-tree failed