]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cpufreq: longhaul: 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:12 +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/longhaul.c

index bd6fe8638d3990c9caefd6203003db0eeb7b461a..68ccd73c8129cc98dc5166d638ee6c90d2a65b3e 100644 (file)
@@ -906,7 +906,6 @@ static struct cpufreq_driver longhaul_driver = {
        .get    = longhaul_get,
        .init   = longhaul_cpu_init,
        .name   = "longhaul",
-       .attr   = cpufreq_generic_attr,
 };
 
 static const struct x86_cpu_id longhaul_id[] = {