diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-06 10:52:06 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-07-06 10:52:06 +0200 |
commit | e358bad75ff13210f5211cac9f93d76170d43f89 (patch) | |
tree | 872f967bd42888a1fcd0968ad0853ed8b941f29e /drivers/base/power/runtime.c | |
parent | 1e2ef05bb8cf851a694d38e9170c89e7ff052741 (diff) |
PM / Runtime: Improve documentation of enable, disable and barrier
The runtime PM documentation in Documentation/power/runtime_pm.txt
doesn't say that pm_runtime_enable() and pm_runtime_disable() work by
operating on power.disable_depth, which is wrong, because the
possibility of nesting disables doesn't follow from the description
of these functions. Also, there is no description of
pm_runtime_barrier() at all in the document, which is confusing.
Improve the documentation by fixing those issues.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'drivers/base/power/runtime.c')
0 files changed, 0 insertions, 0 deletions