From: Rafael J. Wysocki Date: Mon, 27 Jan 2014 22:10:24 +0000 (+0100) Subject: ACPI / PM: Use ACPI_COMPANION() to get ACPI companions of devices X-Git-Tag: v3.14-rc1~21^2~1^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=79c0373f3e847309f4f33d23f2bf088ee3b1ac34;p=pandora-kernel.git ACPI / PM: Use ACPI_COMPANION() to get ACPI companions of devices The ACPI device PM code in device_pm.c uses a special function, acpi_dev_pm_get_node(), to obtain an ACPI companion object of a given device. However, that is not necessary any more after recent changes that introduced the ACPI_COMPANION() macro serving exactly the same purpose, but working in a much more straightforward way. For this reason, drop acpi_dev_pm_get_node() and use ACPI_COMPANION() instead of it everywhere. Signed-off-by: Rafael J. Wysocki Reviewed-by: Mika Westerberg --- Reading git-diff-tree failed