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 <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by David Brownell and committed by Greg Kroah-Hartman f89bce3d 6eefd34f

+5 -4
+5 -4
kernel/power/Kconfig
··· 20 20 sending the processor to sleep and saving power. 21 21 22 22 config PM_LEGACY 23 - bool "Legacy Power Management API" 23 + bool "Legacy Power Management API (DEPRECATED)" 24 24 depends on PM 25 - default y 25 + default n 26 26 ---help--- 27 - Support for pm_register() and friends. 27 + Support for pm_register() and friends. This old API is obsoleted 28 + by the driver model. 28 29 29 - If unsure, say Y. 30 + If unsure, say N. 30 31 31 32 config PM_DEBUG 32 33 bool "Power Management Debug Support"