git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfbf8d4
)
PM / runtime: Fetch runtime PM callbacks using a macro
author
Ulf Hansson
<ulf.hansson@linaro.org>
Sat, 1 Mar 2014 10:56:04 +0000
(11:56 +0100)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sat, 1 Mar 2014 23:18:15 +0000
(
00:18
+0100)
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>
drivers/base/power/runtime.c
patch
|
blob
|
history
diff --cc
drivers/base/power/runtime.c
Simple merge