Commit 464ed18ebdb6236fcff59d2a35d4d2e28668435a
1 parent
71504e519d
Exists in
ti-lsk-linux-4.1.y
and in
10 other branches
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>
Showing 37 changed files with 39 additions and 48 deletions Side-by-side Diff
- arch/arm/configs/ape6evm_defconfig
- arch/arm/configs/armadillo800eva_defconfig
- arch/arm/configs/bcm_defconfig
- arch/arm/configs/bockw_defconfig
- arch/arm/configs/davinci_all_defconfig
- arch/arm/configs/exynos_defconfig
- arch/arm/configs/ezx_defconfig
- arch/arm/configs/hisi_defconfig
- arch/arm/configs/imote2_defconfig
- arch/arm/configs/imx_v6_v7_defconfig
- arch/arm/configs/keystone_defconfig
- arch/arm/configs/kzm9g_defconfig
- arch/arm/configs/lager_defconfig
- arch/arm/configs/mackerel_defconfig
- arch/arm/configs/marzen_defconfig
- arch/arm/configs/omap1_defconfig
- arch/arm/configs/prima2_defconfig
- arch/arm/configs/sama5_defconfig
- arch/arm/configs/shmobile_defconfig
- arch/arm/configs/sunxi_defconfig
- arch/arm/configs/tegra_defconfig
- arch/arm/configs/u8500_defconfig
- arch/arm/configs/vt8500_v6_v7_defconfig
- arch/arm/mach-omap2/Kconfig
- arch/mips/configs/db1xxx_defconfig
- arch/mips/configs/lemote2f_defconfig
- arch/mips/configs/loongson3_defconfig
- arch/mips/configs/nlm_xlp_defconfig
- arch/mips/configs/nlm_xlr_defconfig
- arch/powerpc/configs/ps3_defconfig
- arch/sh/Kconfig
- arch/sh/configs/apsh4ad0a_defconfig
- arch/sh/configs/sdk7786_defconfig
- drivers/usb/host/isp1760-hcd.c
- drivers/usb/host/oxu210hp-hcd.c
- include/linux/devfreq.h
- kernel/power/Kconfig
arch/arm/configs/ape6evm_defconfig
arch/arm/configs/armadillo800eva_defconfig
arch/arm/configs/bcm_defconfig
arch/arm/configs/bockw_defconfig
arch/arm/configs/davinci_all_defconfig
arch/arm/configs/exynos_defconfig
arch/arm/configs/ezx_defconfig
arch/arm/configs/hisi_defconfig
arch/arm/configs/imote2_defconfig
arch/arm/configs/imx_v6_v7_defconfig
arch/arm/configs/keystone_defconfig
arch/arm/configs/kzm9g_defconfig
arch/arm/configs/lager_defconfig
arch/arm/configs/mackerel_defconfig
arch/arm/configs/marzen_defconfig
arch/arm/configs/omap1_defconfig
arch/arm/configs/prima2_defconfig
arch/arm/configs/sama5_defconfig
arch/arm/configs/shmobile_defconfig
arch/arm/configs/sunxi_defconfig
arch/arm/configs/tegra_defconfig
arch/arm/configs/u8500_defconfig
arch/arm/configs/vt8500_v6_v7_defconfig
arch/arm/mach-omap2/Kconfig
... | ... | @@ -15,7 +15,7 @@ |
15 | 15 | select ARM_CPU_SUSPEND if PM |
16 | 16 | select OMAP_INTERCONNECT |
17 | 17 | select PM_OPP if PM |
18 | - select PM_RUNTIME if CPU_IDLE | |
18 | + select PM if CPU_IDLE | |
19 | 19 | select SOC_HAS_OMAP2_SDRC |
20 | 20 | |
21 | 21 | config ARCH_OMAP4 |
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | select PL310_ERRATA_588369 if CACHE_L2X0 |
33 | 33 | select PL310_ERRATA_727915 if CACHE_L2X0 |
34 | 34 | select PM_OPP if PM |
35 | - select PM_RUNTIME if CPU_IDLE | |
35 | + select PM if CPU_IDLE | |
36 | 36 | select ARM_ERRATA_754322 |
37 | 37 | select ARM_ERRATA_775420 |
38 | 38 | |
... | ... | @@ -103,7 +103,7 @@ |
103 | 103 | select I2C_OMAP |
104 | 104 | select MENELAUS if ARCH_OMAP2 |
105 | 105 | select NEON if CPU_V7 |
106 | - select PM_RUNTIME | |
106 | + select PM | |
107 | 107 | select REGULATOR |
108 | 108 | select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4 |
109 | 109 | select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4 |
arch/mips/configs/db1xxx_defconfig
arch/mips/configs/lemote2f_defconfig
arch/mips/configs/loongson3_defconfig
arch/mips/configs/nlm_xlp_defconfig
arch/mips/configs/nlm_xlr_defconfig
arch/powerpc/configs/ps3_defconfig
arch/sh/Kconfig
arch/sh/configs/apsh4ad0a_defconfig
arch/sh/configs/sdk7786_defconfig
drivers/usb/host/isp1760-hcd.c
drivers/usb/host/oxu210hp-hcd.c
... | ... | @@ -3087,7 +3087,7 @@ |
3087 | 3087 | int ports, i, retval = 1; |
3088 | 3088 | unsigned long flags; |
3089 | 3089 | |
3090 | - /* if !PM_RUNTIME, root hub timers won't get shut down ... */ | |
3090 | + /* if !PM, root hub timers won't get shut down ... */ | |
3091 | 3091 | if (!HC_IS_RUNNING(hcd->state)) |
3092 | 3092 | return 0; |
3093 | 3093 |
include/linux/devfreq.h
... | ... | @@ -188,7 +188,7 @@ |
188 | 188 | extern void devm_devfreq_remove_device(struct device *dev, |
189 | 189 | struct devfreq *devfreq); |
190 | 190 | |
191 | -/* Supposed to be called by PM_SLEEP/PM_RUNTIME callbacks */ | |
191 | +/* Supposed to be called by PM callbacks */ | |
192 | 192 | extern int devfreq_suspend_device(struct devfreq *devfreq); |
193 | 193 | extern int devfreq_resume_device(struct devfreq *devfreq); |
194 | 194 |
kernel/power/Kconfig
... | ... | @@ -94,7 +94,7 @@ |
94 | 94 | config PM_SLEEP |
95 | 95 | def_bool y |
96 | 96 | depends on SUSPEND || HIBERNATE_CALLBACKS |
97 | - select PM_RUNTIME | |
97 | + select PM | |
98 | 98 | |
99 | 99 | config PM_SLEEP_SMP |
100 | 100 | def_bool y |
101 | 101 | |
102 | 102 | |
103 | 103 | |
... | ... | @@ -130,22 +130,18 @@ |
130 | 130 | depends on PM_WAKELOCKS |
131 | 131 | default y |
132 | 132 | |
133 | -config PM_RUNTIME | |
134 | - bool "Run-time PM core functionality" | |
133 | +config PM | |
134 | + bool "Device power management core functionality" | |
135 | 135 | ---help--- |
136 | 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 | |
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 | |
139 | 139 | wake-up event or a driver's request. |
140 | 140 | |
141 | 141 | Hardware support is generally required for this functionality to work |
142 | 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 | 144 | wake-up events. |
145 | - | |
146 | -config PM | |
147 | - def_bool y | |
148 | - depends on PM_SLEEP || PM_RUNTIME | |
149 | 145 | |
150 | 146 | config PM_DEBUG |
151 | 147 | bool "Power Management Debug Support" |