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)
commitf3393b62f157cc87f8d78247e97b87778dc077b8
tree4a7d35cde88675f6c4f4b284c2e249d050068dd6
parent2cffff1281a74714c9e035322077ec52ffb1f838
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