History

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.

Rafael J. Wysocki committed 11 years ago

Commit 464ed181 parent 71504e537 files · +39 −48Browse files

Showing the changes to kernel (1 of 37 files). Show all

Unified · Split

kernel/power/Kconfig+6−10
@@ -94,7 +94,7 @@ config PM_STD_PARTITION · 93 unmodified lines
9494 config PM_SLEEP
9595 def_bool y
9696 depends on SUSPEND || HIBERNATE_CALLBACKS
97− select PM_RUNTIME
97+ select PM
9898
9999 config PM_SLEEP_SMP
100100 def_bool y
@@ -130,23 +130,19 @@ config PM_WAKELOCKS_GC · 29 unmodified lines
130130 depends on PM_WAKELOCKS
131131 default y
132132
133−config PM_RUNTIME
134− bool "Run-time PM core functionality"
133+config PM
134+ bool "Device power management core functionality"
135135 ---help---
136136 Enable functionality allowing I/O devices to be put into energy-saving
137− (low power) states at run time (or autosuspended) after a specified
138− period of inactivity and woken up in response to a hardware-generated
137+ (low power) states, for example after a specified period of inactivity
138+ (autosuspended), and woken up in response to a hardware-generated
139139 wake-up event or a driver's request.
140140
141141 Hardware support is generally required for this functionality to work
142142 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
144144 wake-up events.
145145
146−config PM
147− def_bool y
148− depends on PM_SLEEP || PM_RUNTIME
149−
150146 config PM_DEBUG
151147 bool "Power Management Debug Support"
152148 depends on PM