From: David Brownell Date: Tue, 5 Dec 2006 11:07:38 +0000 (-0800) Subject: Driver core: deprecate PM_LEGACY, default it to N X-Git-Tag: v2.6.20-rc1~17 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f89bce3d9afc6b1fb898ae176df4962c1303ee86;p=linux-2.6 Driver core: deprecate PM_LEGACY, default it to N 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 710ed084e7..ed296225dc 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig @@ -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"