summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-23 01:01:41 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-23 01:01:41 +0200
commit17653a3e098dc20ae1db7459344a81c386625696 (patch)
tree63c7cd4e92102ac257a9274705c672725c10b3fc /.gitignore
parentf35cec255557d1037ff0d772edfd6e7b1e92cdc0 (diff)
ACPI / PM: 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. Do that in three places in the ACPI device PM code. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions