public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [patch 2.6.19] deprecate PM_LEGACY, default it to N
@ 2006-12-05 11:07 David Brownell
  0 siblings, 0 replies; only message in thread
From: David Brownell @ 2006-12-05 11:07 UTC (permalink / raw)
  To: linux-pm

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>

Index: at91/kernel/power/Kconfig
===================================================================
--- at91.orig/kernel/power/Kconfig	2006-09-30 19:16:37.000000000 -0700
+++ at91/kernel/power/Kconfig	2006-12-04 05:13:59.000000000 -0800
@@ -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"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-12-05 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 11:07 [patch 2.6.19] deprecate PM_LEGACY, default it to N David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox