Thread (6 messages) 6 messages, 2 authors, 2025-02-03
STALE485d

[PATCH 17/33] cpufreq: pasemi: Stop setting cpufreq_driver->attr field

From: Viresh Kumar <viresh.kumar@linaro.org>
Date: 2025-01-23 11:38:59
Also in: linux-pm, lkml
Subsystem: cpu frequency scaling framework, linux for powerpc (32-bit and 64-bit), the rest · Maintainers: "Rafael J. Wysocki", Viresh Kumar, Madhavan Srinivasan, Michael Ellerman, Linus Torvalds

The cpufreq core handles this for basic attributes now, the driver can skip
setting them.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
 drivers/cpufreq/pasemi-cpufreq.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/cpufreq/pasemi-cpufreq.c b/drivers/cpufreq/pasemi-cpufreq.c
index 5fc9cb480516..a3931349360f 100644
--- a/drivers/cpufreq/pasemi-cpufreq.c
+++ b/drivers/cpufreq/pasemi-cpufreq.c
@@ -245,7 +245,6 @@ static struct cpufreq_driver pas_cpufreq_driver = {
 	.exit		= pas_cpufreq_cpu_exit,
 	.verify		= cpufreq_generic_frequency_table_verify,
 	.target_index	= pas_cpufreq_target,
-	.attr		= cpufreq_generic_attr,
 };
 
 /*
-- 
2.31.1.272.g89b43f80a514

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help