]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cpufreq: vexpress: Stop setting cpufreq_driver->attr field
authorViresh Kumar <viresh.kumar@linaro.org>
Wed, 22 Jan 2025 10:53:51 +0000 (16:23 +0530)
committerViresh Kumar <viresh.kumar@linaro.org>
Fri, 7 Feb 2025 04:15:14 +0000 (09:45 +0530)
The cpufreq core now handles this for basic attributes, including boost
frequencies, the driver can skip setting them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Sudeep Holla <sudeep.holla@arm.com>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
drivers/cpufreq/vexpress-spc-cpufreq.c

index 0f86cdb7ec8ab6338646267f37aa422f45b4ab02..65fea47b82e632ab3798be18bdadda84a718ac12 100644 (file)
@@ -471,7 +471,6 @@ static struct cpufreq_driver ve_spc_cpufreq_driver = {
        .init                   = ve_spc_cpufreq_init,
        .exit                   = ve_spc_cpufreq_exit,
        .register_em            = cpufreq_register_em_with_opp,
-       .attr                   = cpufreq_generic_attr,
 };
 
 #ifdef CONFIG_BL_SWITCHER