From: Viresh Kumar Date: Thu, 4 Jul 2024 06:53:54 +0000 (+0530) Subject: cpufreq: pcc: Remove empty exit() callback X-Git-Tag: v6.11-rc1~173^2~2^2^2^2~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dfd3e8b90b3660b706c3031b0f746377c571b324;p=thirdparty%2Flinux.git cpufreq: pcc: Remove empty exit() callback The exit() callback is optional, remove the empty one. Signed-off-by: Viresh Kumar Acked-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c index 6f8b5ea7aeae4..771efbf51a48e 100644 --- a/drivers/cpufreq/pcc-cpufreq.c +++ b/drivers/cpufreq/pcc-cpufreq.c @@ -562,18 +562,12 @@ out: return result; } -static int pcc_cpufreq_cpu_exit(struct cpufreq_policy *policy) -{ - return 0; -} - static struct cpufreq_driver pcc_cpufreq_driver = { .flags = CPUFREQ_CONST_LOOPS, .get = pcc_get_freq, .verify = pcc_cpufreq_verify, .target = pcc_cpufreq_target, .init = pcc_cpufreq_cpu_init, - .exit = pcc_cpufreq_cpu_exit, .name = "pcc-cpufreq", };