提交 e1a29760 编写于 作者: G Geert Uytterhoeven 提交者: Rafael J. Wysocki

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: NGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 651665db
...@@ -232,7 +232,7 @@ defined in include/linux/pm.h: ...@@ -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 equal to zero); the initial value of it is 1 (i.e. runtime PM is
initially disabled for all devices) 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 - 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 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 this flag is cleared; this is the error code returned by the failing
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册