summaryrefslogtreecommitdiffstats
path: root/Documentation/power
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2014-03-24 21:31:27 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-26 16:33:05 +0100
commite1a297601102c10579623a43df1c3529fb1f2fc9 (patch)
treeab476d96a7e5d86fe1b423f2eed999c88dde2488 /Documentation/power
parentPM / Runtime: Update runtime_idle() documentation for return value meaning (diff)
downloadlinux-e1a297601102c10579623a43df1c3529fb1f2fc9.tar.xz
linux-e1a297601102c10579623a43df1c3529fb1f2fc9.zip
PM / Runtime: dev_pm_info.runtime_error is signed
dev_pm_info.runtime_error has always been a signed int, to store a signed error code. Correct the documentation. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'Documentation/power')
-rw-r--r--Documentation/power/runtime_pm.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/power/runtime_pm.txt b/Documentation/power/runtime_pm.txt
index b6ce00b2be9a..a5683a5662cb 100644
--- a/Documentation/power/runtime_pm.txt
+++ b/Documentation/power/runtime_pm.txt
@@ -232,7 +232,7 @@ defined in include/linux/pm.h:
equal to zero); the initial value of it is 1 (i.e. runtime PM is
initially disabled for all devices)
- unsigned int runtime_error;
+ int runtime_error;
- if set, there was a fatal error (one of the callbacks returned error code
as described in Section 2), so the helper funtions will not work until
this flag is cleared; this is the error code returned by the failing