diff mbox

[1/5] PM / Runtime: dev_pm_info.runtime_error is signed

Message ID 1395693091-4813-1-git-send-email-geert@linux-m68k.org (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Geert Uytterhoeven March 24, 2014, 8:31 p.m. UTC
From: Geert Uytterhoeven <geert+renesas@glider.be>

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>
---
 Documentation/power/runtime_pm.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Pavel Machek March 26, 2014, 4:55 p.m. UTC | #1
On Mon 2014-03-24 21:31:27, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.be>
> 
> dev_pm_info.runtime_error has always been a signed int, to store a signed
> error code. Correct the documentation.

Series looks ok to me.

Acked-by: Pavel Machek <pavel@ucw.cz>
--
To unsubscribe from this list: send the line "unsubscribe linux-pm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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