From 8f43e1cfb5843bc042c43bc7dab2b6e97f0cdb13 Mon Sep 17 00:00:00 2001 From: Johnlay Park Date: Wed, 14 Mar 2018 10:52:35 +0900 Subject: [PATCH] cpufreq: acme: remove cooling device registration Change-Id: I073da61cddf7a4f9d97418fda0d723a4033861f2 Signed-off-by: Park Bumgyu --- drivers/cpufreq/exynos-acme.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/cpufreq/exynos-acme.c b/drivers/cpufreq/exynos-acme.c index 8fa2cc863f83..6648377e51c4 100644 --- a/drivers/cpufreq/exynos-acme.c +++ b/drivers/cpufreq/exynos-acme.c @@ -1632,13 +1632,8 @@ static int __init exynos_cpufreq_init(void) * Update frequency as soon as domain is enabled. */ list_for_each_entry(domain, &domains, list) { - struct cpufreq_policy *policy; set_policy(domain); enable_domain(domain); - policy = cpufreq_cpu_get_raw(cpumask_first(&domain->cpus)); - if (policy) - exynos_cpufreq_cooling_register(domain->dn, policy); - set_boot_qos(domain); } -- 2.20.1