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