diff options
| author | Pavel Machek <pavel@suse.cz> | 2008-03-13 18:52:49 -0400 |
|---|---|---|
| committer | Len Brown <len.brown@intel.com> | 2008-04-15 03:19:07 -0400 |
| commit | 6afe1a1fe8ff83f6ac2726b04665e76ba7b14f3e (patch) | |
| tree | afb11aefbd33e4fa73b777abdd6ccbb42da36797 /kernel/power/Kconfig | |
| parent | a985aabe4d7a720b109c2b63549f8641676a9c88 (diff) | |
PM: Remove legacy PM
AFAICT pm_send_all is a nop when noone uses pm_register...
Hmm.. can we just force CONFIG_PM_LEGACY=n, and see what happens?
Or maybe this is better idea? It may break build somewhere, but it
should be easy to fix... (it builds here, i386 and x86-64).
Signed-off-by: Pavel Machek <pavel@suse.cz>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'kernel/power/Kconfig')
| -rw-r--r-- | kernel/power/Kconfig | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 6233f3b4ae6..b45da40e8d2 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
| @@ -19,16 +19,6 @@ config PM | |||
| 19 | will issue the hlt instruction if nothing is to be done, thereby | 19 | will issue the hlt instruction if nothing is to be done, thereby |
| 20 | sending the processor to sleep and saving power. | 20 | sending the processor to sleep and saving power. |
| 21 | 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 | 22 | config PM_DEBUG |
| 33 | bool "Power Management Debug Support" | 23 | bool "Power Management Debug Support" |
| 34 | depends on PM | 24 | depends on PM |
