From: Johnlay Park Date: Wed, 14 Mar 2018 01:52:35 +0000 (+0900) Subject: cpufreq: acme: remove cooling device registration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8f43e1cfb5843bc042c43bc7dab2b6e97f0cdb13;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cpufreq: acme: remove cooling device registration Change-Id: I073da61cddf7a4f9d97418fda0d723a4033861f2 Signed-off-by: Park Bumgyu --- 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); }