
From: Pavel Machek <pavel@suse.cz>

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 Documentation/pm.txt |    6 ++++++
 1 files changed, 6 insertions(+)

diff -puN Documentation/pm.txt~tell-people-not-to-use-pm_register Documentation/pm.txt
--- devel/Documentation/pm.txt~tell-people-not-to-use-pm_register	2005-09-11 12:16:58.000000000 -0700
+++ devel-akpm/Documentation/pm.txt	2005-09-11 12:16:58.000000000 -0700
@@ -38,6 +38,12 @@ system the associated daemon will exit g
 
 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
_
