Skip to content

Commit

Permalink
Driver core: deprecate PM_LEGACY, default it to N
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Dec 13, 2006
1 parent 6eefd34 commit f89bce3
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions kernel/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit f89bce3

Please sign in to comment.