diff mbox series

[V2,4/4] thermal/drivers/cpu_cooling: Rename to cpufreq_cooling

Message ID 20191202202815.22731-4-daniel.lezcano@linaro.org
State New
Headers show
Series [V2,1/4] thermal/drivers/Kconfig: Convert the CPU cooling device to a choice | expand

Commit Message

Daniel Lezcano Dec. 2, 2019, 8:28 p.m. UTC
As we introduced the idle injection cooling device called
cpuidle_cooling, let's be consistent and rename the cpu_cooling to
cpufreq_cooling as this one mitigates with OPPs changes.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

---
 drivers/thermal/Makefile                             | 2 +-
 drivers/thermal/{cpu_cooling.c => cpufreq_cooling.c} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)
 rename drivers/thermal/{cpu_cooling.c => cpufreq_cooling.c} (100%)

-- 
2.17.1

Comments

Viresh Kumar Dec. 3, 2019, 8:20 a.m. UTC | #1
On 02-12-19, 21:28, Daniel Lezcano wrote:
> As we introduced the idle injection cooling device called

> cpuidle_cooling, let's be consistent and rename the cpu_cooling to

> cpufreq_cooling as this one mitigates with OPPs changes.

> 

> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> ---

>  drivers/thermal/Makefile                             | 2 +-

>  drivers/thermal/{cpu_cooling.c => cpufreq_cooling.c} | 0

>  2 files changed, 1 insertion(+), 1 deletion(-)

>  rename drivers/thermal/{cpu_cooling.c => cpufreq_cooling.c} (100%)

> 

> diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile

> index 9c8aa2d4bd28..5c98472ffd8b 100644

> --- a/drivers/thermal/Makefile

> +++ b/drivers/thermal/Makefile

> @@ -19,7 +19,7 @@ thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= user_space.o

>  thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= power_allocator.o

>  

>  # cpufreq cooling

> -thermal_sys-$(CONFIG_CPU_FREQ_THERMAL)	+= cpu_cooling.o

> +thermal_sys-$(CONFIG_CPU_FREQ_THERMAL)	+= cpufreq_cooling.o

>  thermal_sys-$(CONFIG_CPU_IDLE_THERMAL)	+= cpuidle_cooling.o

>  

>  # clock cooling

> diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpufreq_cooling.c

> similarity index 100%

> rename from drivers/thermal/cpu_cooling.c

> rename to drivers/thermal/cpufreq_cooling.c


This isn't enough. Please grep for cpu_cooling and you will see other places
that you need to fix as well :)

-- 
viresh
diff mbox series

Patch

diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index 9c8aa2d4bd28..5c98472ffd8b 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -19,7 +19,7 @@  thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE)	+= user_space.o
 thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR)	+= power_allocator.o
 
 # cpufreq cooling
-thermal_sys-$(CONFIG_CPU_FREQ_THERMAL)	+= cpu_cooling.o
+thermal_sys-$(CONFIG_CPU_FREQ_THERMAL)	+= cpufreq_cooling.o
 thermal_sys-$(CONFIG_CPU_IDLE_THERMAL)	+= cpuidle_cooling.o
 
 # clock cooling
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpufreq_cooling.c
similarity index 100%
rename from drivers/thermal/cpu_cooling.c
rename to drivers/thermal/cpufreq_cooling.c