]> git.baikalelectronics.ru Git - kernel.git/commit
PM / Runtime: Add new helper function: pm_runtime_status_suspended()
authorKevin Hilman <khilman@ti.com>
Tue, 12 Jul 2011 09:17:09 +0000 (11:17 +0200)
committerRafael J. Wysocki <rjw@sisk.pl>
Tue, 12 Jul 2011 09:17:09 +0000 (11:17 +0200)
commit1c880dea92215d97fc8b3f9a31b4c6ba895f0aaa
tree4a7d35cde88675f6c4f4b284c2e249d050068dd6
parent7be6579e1e20a3725c493733b320ffdcf135ca92
PM / Runtime: Add new helper function: pm_runtime_status_suspended()

This boolean function simply returns whether or not the runtime status
of the device is 'suspended'.  Unlike pm_runtime_suspended(), this
function returns the runtime status whether or not runtime PM for the
device has been disabled or not.

Also add entry to Documentation/power/runtime.txt

Signed-off-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Documentation/power/runtime_pm.txt
include/linux/pm_runtime.h