From: Rafael J. Wysocki Date: Wed, 23 Jul 2014 23:18:53 +0000 (+0200) Subject: ACPI / PCI: Use ACPI_COMPANION() instead of ACPI_HANDLE() X-Git-Tag: omap-for-v3.17/fixes-against-rc2~142^2~10^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=85dbb3d05ec6d063f6f8ad4d6dfc13793d566374;p=pandora-kernel.git ACPI / PCI: Use ACPI_COMPANION() instead of ACPI_HANDLE() The ACPI_HANDLE() macro evaluates ACPI_COMPANION() internally to return the handle of the device's ACPI companion, so it is much more straightforward and efficient to use ACPI_COMPANION() directly to obtain the device's ACPI companion object instead of using ACPI_HANDLE() and acpi_bus_get_device() on the returned handle for the same thing. Use ACPI_COMPANION() instead of ACPI_HANDLE() in the PCI ACPI support code. Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed