Skip to content
This repository was archived by the owner on Nov 8, 2023. It is now read-only.

Commit dfd3e8b

Browse files
committed
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>
1 parent fa90377 commit dfd3e8b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

drivers/cpufreq/pcc-cpufreq.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -562,18 +562,12 @@ static int pcc_cpufreq_cpu_init(struct cpufreq_policy *policy)
562562
return result;
563563
}
564564

565-
static int pcc_cpufreq_cpu_exit(struct cpufreq_policy *policy)
566-
{
567-
return 0;
568-
}
569-
570565
static struct cpufreq_driver pcc_cpufreq_driver = {
571566
.flags = CPUFREQ_CONST_LOOPS,
572567
.get = pcc_get_freq,
573568
.verify = pcc_cpufreq_verify,
574569
.target = pcc_cpufreq_target,
575570
.init = pcc_cpufreq_cpu_init,
576-
.exit = pcc_cpufreq_cpu_exit,
577571
.name = "pcc-cpufreq",
578572
};
579573

0 commit comments

Comments
 (0)