From f00538e0375866bd26b05b39594abdd7fe0c5b30 Mon Sep 17 00:00:00 2001 From: Pavel Machek Date: Tue, 13 Sep 2005 01:25:46 -0700 Subject: [PATCH] --- yaml --- r: 8791 b: refs/heads/master c: f4f9eb0ea14c8c478f0e8137b84a366499335aab h: refs/heads/master i: 8789: bd40d25809761ad624a117d634e1e3560d078c3e 8787: 96d5f87f40a72723b3c0f9401670f88c30c8597d 8783: a2b612f73f3015063bc020f85bd84a5a2d7b9bf3 v: v3 --- [refs] | 2 +- trunk/Documentation/pm.txt | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index be9dd3c5ecb9..8c248a1cf6e4 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1cc5753f86589c5fb7e2f4a1fe778db3881f8f72 +refs/heads/master: f4f9eb0ea14c8c478f0e8137b84a366499335aab diff --git a/trunk/Documentation/pm.txt b/trunk/Documentation/pm.txt index cc63ae18d147..2ea1149bf6b0 100644 --- a/trunk/Documentation/pm.txt +++ b/trunk/Documentation/pm.txt @@ -38,6 +38,12 @@ system the associated daemon will exit gracefully. Driver Interface -- OBSOLETE, DO NOT USE! ----------------************************* + +Note: pm_register(), pm_access(), pm_dev_idle() and friends are +obsolete. Please do not use them. Instead you should properly hook +your driver into the driver model, and use its suspend()/resume() +callbacks to do this kind of stuff. + If you are writing a new driver or maintaining an old driver, it should include power management support. Without power management support, a single driver may prevent a system with power management