浏览代码

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>
Geert Uytterhoeven 11 年之前
父节点
当前提交
e1a2976011
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/power/runtime_pm.txt

+ 1 - 1
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