]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cpufreq: spear: 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:13 +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: Rafael J. Wysocki <rafael@kernel.org>
drivers/cpufreq/spear-cpufreq.c

index d8ab5b01d46d0482900ea33d12474a857cb47481..707c71090cc3228afabf91a2593783f28faa776f 100644 (file)
@@ -165,7 +165,6 @@ static struct cpufreq_driver spear_cpufreq_driver = {
        .target_index   = spear_cpufreq_target,
        .get            = cpufreq_generic_get,
        .init           = spear_cpufreq_init,
-       .attr           = cpufreq_generic_attr,
 };
 
 static int spear_cpufreq_probe(struct platform_device *pdev)