summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/dsutils.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-27 23:10:24 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-01-27 23:10:24 +0100
commit79c0373f3e847309f4f33d23f2bf088ee3b1ac34 (patch)
tree1b590afc56c68a30e3b0bba984f07d275f592d3d /drivers/acpi/acpica/dsutils.c
parentLinux 3.13 (diff)
downloadlinux-79c0373f3e847309f4f33d23f2bf088ee3b1ac34.tar.xz
linux-79c0373f3e847309f4f33d23f2bf088ee3b1ac34.zip
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 <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dsutils.c')
0 files changed, 0 insertions, 0 deletions