diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2024-07-04 12:23:54 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2024-07-05 11:42:00 +0530 |
commit | dfd3e8b90b3660b706c3031b0f746377c571b324 (patch) | |
tree | 91525af04d862cca3dd99f43c9af5b7794cceb6e /drivers/cpufreq | |
parent | fa9037727820dd8af33ed4f4fbabd69f132463e7 (diff) | |
download | lwn-dfd3e8b90b3660b706c3031b0f746377c571b324.tar.gz lwn-dfd3e8b90b3660b706c3031b0f746377c571b324.zip |
cpufreq: pcc: Remove empty exit() callback
The exit() callback is optional, remove the empty one.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/pcc-cpufreq.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/cpufreq/pcc-cpufreq.c b/drivers/cpufreq/pcc-cpufreq.c index 6f8b5ea7aeae..771efbf51a48 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", }; |