Driver core: deprecate PM_LEGACY, default it to N
authorDavid Brownell <david-b@pacbell.net>
Tue, 5 Dec 2006 11:07:38 +0000 (03:07 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 13 Dec 2006 23:38:46 +0000 (15:38 -0800)
Deprecate the old "legacy" PM API, and more importantly default it to "n".
Virtually nothing in-tree uses it any more.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
kernel/power/Kconfig

index 710ed084e7c5667b96da2362f67025fb8e521d50..ed296225dcd4a66119d6785d64ddd488cc77f24c 100644 (file)
@@ -20,13 +20,14 @@ config PM
          sending the processor to sleep and saving power.
 
 config PM_LEGACY
-       bool "Legacy Power Management API"
+       bool "Legacy Power Management API (DEPRECATED)"
        depends on PM
-       default y
+       default n
        ---help---
-          Support for pm_register() and friends.
+          Support for pm_register() and friends.  This old API is obsoleted
+          by the driver model.
 
-          If unsure, say Y.
+          If unsure, say N.
 
 config PM_DEBUG
        bool "Power Management Debug Support"