From: Park Bumgyu Date: Wed, 14 Mar 2018 06:04:43 +0000 (+0900) Subject: cpufreq: acme: add ready/exit callback X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1c6282557927cb5c000bb54cd2276ed2a51f5b4e;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cpufreq: acme: add ready/exit callback ready/exit callback will be used by thermal. Change-Id: Ieab321d3d49c25a2772569b0f7c7cb701e0acda0 Signed-off-by: Park Bumgyu --- diff --git a/drivers/cpufreq/exynos-acme.c b/drivers/cpufreq/exynos-acme.c index 6648377e51c4..bcc14dbb30a5 100644 --- a/drivers/cpufreq/exynos-acme.c +++ b/drivers/cpufreq/exynos-acme.c @@ -441,6 +441,15 @@ static int exynos_cpufreq_resume(struct cpufreq_policy *policy) return __exynos_cpufreq_resume(domain); } +static void exynos_cpufreq_ready(struct cpufreq_policy *policy) +{ +} + +static int exynos_cpufreq_exit(struct cpufreq_policy *policy) +{ + return 0; +} + static int exynos_cpufreq_pm_notifier(struct notifier_block *notifier, unsigned long pm_event, void *v) { @@ -474,6 +483,8 @@ static struct cpufreq_driver exynos_driver = { .get = exynos_cpufreq_get, .suspend = exynos_cpufreq_suspend, .resume = exynos_cpufreq_resume, + .ready = exynos_cpufreq_ready, + .exit = exynos_cpufreq_exit, .attr = cpufreq_generic_attr, };