cpufreq: acme: change API for cpuhotplug
authorSoohyun Kim <soohyuni.kim@samsung.com>
Wed, 24 Jan 2018 04:37:53 +0000 (13:37 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:30:38 +0000 (17:30 +0900)
Change-Id: I9df99631bf827de8ced627f91d1fa8ba6a645c8b
Signed-off-by: Soohyun Kim <soohyuni.kim@samsung.com>
drivers/cpufreq/exynos-acme.c

index 4e3cd606390a31b5b1a8078ce89f19bbf1fb22a2..03815990469a61190cfddbc8107a6e61db45f465 100644 (file)
@@ -1636,10 +1636,10 @@ static int __init exynos_cpufreq_init(void)
 
        cpufreq_register_notifier(&exynos_cpufreq_policy_notifier,
                                        CPUFREQ_POLICY_NOTIFIER);
-       cpuhp_setup_state_nocalls_cpuslocked(CPUHP_AP_EXYNOS_ACME,
-                                               "exynos:acme",
-                                               exynos_cpufreq_cpu_up_callback,
-                                               exynos_cpufreq_cpu_down_callback);
+       cpuhp_setup_state_nocalls(CPUHP_AP_EXYNOS_ACME,
+                                       "exynos:acme",
+                                       exynos_cpufreq_cpu_up_callback,
+                                       exynos_cpufreq_cpu_down_callback);
 
        register_pm_notifier(&exynos_cpufreq_pm);