cpufreq: acme: remove cooling device registration
authorJohnlay Park <jonglae.park@samsung.com>
Wed, 14 Mar 2018 01:52:35 +0000 (10:52 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:30:40 +0000 (17:30 +0900)
Change-Id: I073da61cddf7a4f9d97418fda0d723a4033861f2
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
drivers/cpufreq/exynos-acme.c

index 8fa2cc863f83bc6ce8e1d2a1bdb1fcd5942f1fdf..6648377e51c4b071236803f67fac4c4ef18d66b7 100644 (file)
@@ -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);
        }