aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/pm_runtime.h
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-03-01 11:56:04 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-02 00:18:15 +0100
commit5f59df79837bb809f3945613aba5519cd9755a53 (patch)
tree3ad0bfc09e8898b1f1f22c252ba8ef6bdda623b7 /include/linux/pm_runtime.h
parentLinux 3.14-rc4 (diff)
downloadlinux-dev-5f59df79837bb809f3945613aba5519cd9755a53.tar.xz
linux-dev-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 'include/linux/pm_runtime.h')
0 files changed, 0 insertions, 0 deletions