diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-19 09:37:54 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-19 16:55:06 -0500 |
commit | 464ed18ebdb6236fcff59d2a35d4d2e28668435a (patch) | |
tree | 4d0f84c41d849ef5cf2ff5fb6453d0fc558b0c02 /kernel | |
parent | 71504e519d779261f03fb547c0439500b2e5fa9b (diff) |
PM: Eliminate CONFIG_PM_RUNTIME
Having switched over all of the users of CONFIG_PM_RUNTIME to use
CONFIG_PM directly, turn the latter into a user-selectable option
and drop the former entirely from the tree.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/power/Kconfig | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/kernel/power/Kconfig b/kernel/power/Kconfig index 6e7708c2c21f..48b28d387c7f 100644 --- a/kernel/power/Kconfig +++ b/kernel/power/Kconfig | |||
@@ -94,7 +94,7 @@ config PM_STD_PARTITION | |||
94 | config PM_SLEEP | 94 | config PM_SLEEP |
95 | def_bool y | 95 | def_bool y |
96 | depends on SUSPEND || HIBERNATE_CALLBACKS | 96 | depends on SUSPEND || HIBERNATE_CALLBACKS |
97 | select PM_RUNTIME | 97 | select PM |
98 | 98 | ||
99 | config PM_SLEEP_SMP | 99 | config PM_SLEEP_SMP |
100 | def_bool y | 100 | def_bool y |
@@ -130,23 +130,19 @@ config PM_WAKELOCKS_GC | |||
130 | depends on PM_WAKELOCKS | 130 | depends on PM_WAKELOCKS |
131 | default y | 131 | default y |
132 | 132 | ||
133 | config PM_RUNTIME | 133 | config PM |
134 | bool "Run-time PM core functionality" | 134 | bool "Device power management core functionality" |
135 | ---help--- | 135 | ---help--- |
136 | Enable functionality allowing I/O devices to be put into energy-saving | 136 | Enable functionality allowing I/O devices to be put into energy-saving |
137 | (low power) states at run time (or autosuspended) after a specified | 137 | (low power) states, for example after a specified period of inactivity |
138 | period of inactivity and woken up in response to a hardware-generated | 138 | (autosuspended), and woken up in response to a hardware-generated |
139 | wake-up event or a driver's request. | 139 | wake-up event or a driver's request. |
140 | 140 | ||
141 | Hardware support is generally required for this functionality to work | 141 | Hardware support is generally required for this functionality to work |
142 | and the bus type drivers of the buses the devices are on are | 142 | and the bus type drivers of the buses the devices are on are |
143 | responsible for the actual handling of the autosuspend requests and | 143 | responsible for the actual handling of device suspend requests and |
144 | wake-up events. | 144 | wake-up events. |
145 | 145 | ||
146 | config PM | ||
147 | def_bool y | ||
148 | depends on PM_SLEEP || PM_RUNTIME | ||
149 | |||
150 | config PM_DEBUG | 146 | config PM_DEBUG |
151 | bool "Power Management Debug Support" | 147 | bool "Power Management Debug Support" |
152 | depends on PM | 148 | depends on PM |