From: Rafael J. Wysocki Date: Thu, 25 Aug 2011 13:31:05 +0000 (+0200) Subject: PM / Runtime: Correct documentation of pm_runtime_irq_safe() X-Git-Tag: v3.1-rc4~1^2~2 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=64584eb9cde5f3c5a07f24b2e7cd38f1157be181;p=cascardo%2Flinux.git PM / Runtime: Correct documentation of pm_runtime_irq_safe() The description of pm_runtime_irq_safe() has to be updated to follow the code after commit 02b2677 (PM / Runtime: Allow _put_sync() from interrupts-disabled context). Signed-off-by: Rafael J. Wysocki Acked-by: Kevin Hilman --- diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt index 4ce5450ab6e8..6066e3a6b9a9 100644 --- a/Documentation/power/runtime_pm.txt +++ b/Documentation/power/runtime_pm.txt @@ -431,8 +431,7 @@ drivers/base/power/runtime.c and include/linux/pm_runtime.h: void pm_runtime_irq_safe(struct device *dev); - set the power.irq_safe flag for the device, causing the runtime-PM - suspend and resume callbacks (but not the idle callback) to be invoked - with interrupts disabled + callbacks to be invoked with interrupts off void pm_runtime_mark_last_busy(struct device *dev); - set the power.last_busy field to the current time