PM / Runtime: Improve documentation of enable, disable and barrier
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 6 Jul 2011 08:52:06 +0000 (10:52 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Wed, 6 Jul 2011 08:52:06 +0000 (10:52 +0200)
commite358bad75ff13210f5211cac9f93d76170d43f89
tree872f967bd42888a1fcd0968ad0853ed8b941f29e
parent1e2ef05bb8cf851a694d38e9170c89e7ff052741
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>
Documentation/power/runtime_pm.txt