History

thermal/drivers/cpu_cooling: Rename to cpufreq_cooling

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.

Daniel Lezcano committed 6 years ago

Commit 23affa21 parent a4c428e6 files · +8 −8Browse files

Unified · Split

6 files
  1. Documentation/driver-api/thermal/exynos_thermal.rst +1 −1
  2. MAINTAINERS +1 −1
  3. drivers/thermal/Makefile +1 −1
  4. drivers/thermal/clock_cooling.c +1 −1
  5. drivers/thermal/cpufreq_cooling.c +3 −3
  6. include/linux/clock_cooling.h +1 −1
Documentation/driver-api/thermal/exynos_thermal.rst+1−1
@@ -67,7 +67,7 @@ TMU driver description: · 66 unmodified lines
6767 The exynos thermal driver is structured as::
6868
6969 Kernel Core thermal framework
70− (thermal_core.c, step_wise.c, cpu_cooling.c)
70+ (thermal_core.c, step_wise.c, cpufreq_cooling.c)
7171 ^
7272 |
7373 |
MAINTAINERS+1−1
@@ -16349,7 +16349,7 @@ L: linux-pm@vger.kernel.org · 16348 unmodified lines
1634916349 S: Supported
1635016350 F: Documentation/driver-api/thermal/cpu-cooling-api.rst
1635116351 F: Documentation/driver-api/thermal/cpu-idle-cooling.rst
16352−F: drivers/thermal/cpu_cooling.c
16352+F: drivers/thermal/cpufreq_cooling.c
1635316353 F: drivers/thermal/cpuidle_cooling.c
1635416354 F: include/linux/cpu_cooling.h
1635516355
drivers/thermal/Makefile+1−1
@@ -19,7 +19,7 @@ thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += user_space.o · 18 unmodified lines
1919 thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += power_allocator.o
2020
2121 # cpufreq cooling
22−thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpu_cooling.o
22+thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
2323 thermal_sys-$(CONFIG_CPU_IDLE_THERMAL) += cpuidle_cooling.o
2424
2525 # clock cooling
drivers/thermal/clock_cooling.c+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 * Copyright (C) 2013 Texas Instruments Inc.
88 * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
99 *
10− * Highly based on cpu_cooling.c.
10+ * Highly based on cpufreq_cooling.c.
1111 * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com)
1212 * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org>
1313 */
drivers/thermal/cpufreq_cooling.crenamed from drivers/thermal/cpu_cooling.c+3−3
@@ -1,6 +1,6 @@
11 // SPDX-License-Identifier: GPL-2.0
22 /*
3− * linux/drivers/thermal/cpu_cooling.c
3+ * linux/drivers/thermal/cpufreq_cooling.c
44 *
55 * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com)
66 *
@@ -621,7 +621,7 @@ of_cpufreq_cooling_register(struct cpufreq_policy *policy) · 614 unmodified lines
621621 struct thermal_cooling_device *cdev = NULL;
622622
623623 if (!np) {
624− pr_err("cpu_cooling: OF node not available for cpu%d\n",
624+ pr_err("cpufreq_cooling: OF node not available for cpu%d\n",
625625 policy->cpu);
626626 return NULL;
627627 }
@@ -631,7 +631,7 @@ of_cpufreq_cooling_register(struct cpufreq_policy *policy) · 3 unmodified lines
631631
632632 cdev = __cpufreq_cooling_register(np, policy, em);
633633 if (IS_ERR(cdev)) {
634− pr_err("cpu_cooling: cpu%d failed to register as cooling device: %ld\n",
634+ pr_err("cpufreq_cooling: cpu%d failed to register as cooling device: %ld\n",
635635 policy->cpu, PTR_ERR(cdev));
636636 cdev = NULL;
637637 }
include/linux/clock_cooling.h+1−1
@@ -7,7 +7,7 @@ · 6 unmodified lines
77 * Copyright (C) 2013 Texas Instruments Inc.
88 * Contact: Eduardo Valentin <eduardo.valentin@ti.com>
99 *
10− * Highly based on cpu_cooling.c.
10+ * Highly based on cpufreq_cooling.c.
1111 * Copyright (C) 2012 Samsung Electronics Co., Ltd(http://www.samsung.com)
1212 * Copyright (C) 2012 Amit Daniel <amit.kachhap@linaro.org>
1313 */