From 2f8386c15bb7d0045c55cc8a248dbd6e7c334891 Mon Sep 17 00:00:00 2001 From: Eunseok Choi Date: Mon, 22 Jan 2018 21:15:07 +0900 Subject: [PATCH] [9810] thermal: replace clip_cpus with cpufreq_policy Change-Id: I64723b569fec2e45e0d9d58b5e62d228aba86595 Signed-off-by: Eunseok Choi --- drivers/thermal/cpu_cooling.c | 4 ++-- include/linux/cpu_cooling.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index dab2d9ac76c0..9d8bb4cc1ab7 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -1169,7 +1169,7 @@ void cpufreq_cooling_unregister(struct thermal_cooling_device *cdev) EXPORT_SYMBOL_GPL(cpufreq_cooling_unregister); struct thermal_cooling_device * -exynos_cpufreq_cooling_register(struct device_node *np, const struct cpumask *clip_cpus) +exynos_cpufreq_cooling_register(struct device_node *np, struct cpufreq_policy *policy) { struct thermal_zone_device *tz; void *gen_block; @@ -1198,7 +1198,7 @@ exynos_cpufreq_cooling_register(struct device_node *np, const struct cpumask *cl } regist: - return __cpufreq_cooling_register(np, clip_cpus, capacitance, + return __cpufreq_cooling_register(np, policy, capacitance, NULL); } EXPORT_SYMBOL_GPL(exynos_cpufreq_cooling_register); diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h index 14f8dfbf1c76..8efbdb7716c1 100644 --- a/include/linux/cpu_cooling.h +++ b/include/linux/cpu_cooling.h @@ -103,7 +103,7 @@ of_cpufreq_power_cooling_register(struct device_node *np, get_static_t plat_static_func); struct thermal_cooling_device * -exynos_cpufreq_cooling_register(struct device_node *np, const struct cpumask *clip_cpus); +exynos_cpufreq_cooling_register(struct device_node *np, struct cpufreq_policy *policy); #else static inline struct thermal_cooling_device * @@ -123,7 +123,7 @@ of_cpufreq_power_cooling_register(struct device_node *np, } static inline struct thermal_cooling_device * -exynos_cpufreq_cooling_register(struct device_node *np, const struct cpumask *clip_cpus); +exynos_cpufreq_cooling_register(struct device_node *np, struct cpufreq_policy *policy); { return NULL; } -- 2.20.1