Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f89bce3d authored by David Brownell's avatar David Brownell Committed by Greg Kroah-Hartman
Browse files

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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6eefd34f
Loading
Loading
Loading
Loading
+5 −4
Original line number Diff line number Diff line
@@ -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"