From: ShuoX Liu Date: Wed, 23 Jan 2013 20:49:37 +0000 (+0100) Subject: PM / Runtime: Add new helper function: pm_runtime_active() X-Git-Tag: v3.9-rc1~146^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbadc58dd3a52c330c8f3926aa93011bf9d91fa0;p=pandora-kernel.git PM / Runtime: Add new helper function: pm_runtime_active() This boolean function simply returns whether or not the runtime status of the device is 'active'. The typical scenario is driver calls pm_runtime_get firstly, then check pm_runtime_active in atomic environment. Also add entry to Documentation/power/runtime.txt Signed-off-by: Yanmin Zhang Signed-off-by: ShuoX Liu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed