diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2014-03-01 11:56:04 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-02 00:18:15 +0100 |
commit | 5f59df79837bb809f3945613aba5519cd9755a53 (patch) | |
tree | 3ad0bfc09e8898b1f1f22c252ba8ef6bdda623b7 /drivers/acpi/acpica/evevent.c | |
parent | Linux 3.14-rc4 (diff) | |
download | linux-5f59df79837bb809f3945613aba5519cd9755a53.tar.xz linux-5f59df79837bb809f3945613aba5519cd9755a53.zip |
PM / runtime: Fetch runtime PM callbacks using a macro
While fetching the proper runtime PM callback, we walk the hierarchy of
device's power domains, subsystems and drivers.
This is common for rpm_suspend(), rpm_idle() and rpm_resume(). Let's
clean up the code by using a macro that handles this.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/evevent.c')
0 files changed, 0 insertions, 0 deletions