summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/loongson3_cpufreq.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2025-01-22 16:23:51 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2025-02-07 09:45:12 +0530
commit06e9a34aa8fcabb37028de0a124ce34c8c951129 (patch)
treeb2a728c1a5b8218ac83726311d3b16879be23bbc /drivers/cpufreq/loongson3_cpufreq.c
parentd4a3b9572b83c38d1913afbd0aa498ebb916b06d (diff)
cpufreq: loongson: Stop setting cpufreq_driver->attr field
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>
Diffstat (limited to 'drivers/cpufreq/loongson3_cpufreq.c')
-rw-r--r--drivers/cpufreq/loongson3_cpufreq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/cpufreq/loongson3_cpufreq.c b/drivers/cpufreq/loongson3_cpufreq.c
index bd34bf0fafa5..ea516b939c44 100644
--- a/drivers/cpufreq/loongson3_cpufreq.c
+++ b/drivers/cpufreq/loongson3_cpufreq.c
@@ -337,7 +337,6 @@ static struct cpufreq_driver loongson3_cpufreq_driver = {
.offline = loongson3_cpufreq_cpu_offline,
.get = loongson3_cpufreq_get,
.target_index = loongson3_cpufreq_target,
- .attr = cpufreq_generic_attr,
.verify = cpufreq_generic_frequency_table_verify,
.suspend = cpufreq_generic_suspend,
};