diff options
author | 2025-01-22 16:23:51 +0530 | |
---|---|---|
committer | 2025-02-07 09:45:13 +0530 | |
commit | 6cdc8c3ca954a56e54fc844475c09a0ad8f7f1d0 (patch) | |
tree | 1f9980c44aee6f7d8c63c3fb25ad14b7311b3643 | |
parent | cpufreq: pasemi: Stop setting cpufreq_driver->attr field (diff) | |
download | wireguard-linux-6cdc8c3ca954a56e54fc844475c09a0ad8f7f1d0.tar.xz wireguard-linux-6cdc8c3ca954a56e54fc844475c09a0ad8f7f1d0.zip |
cpufreq: pmac: 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>
-rw-r--r-- | drivers/cpufreq/pmac32-cpufreq.c | 1 | ||||
-rw-r--r-- | drivers/cpufreq/pmac64-cpufreq.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/cpufreq/pmac32-cpufreq.c b/drivers/cpufreq/pmac32-cpufreq.c index 6c9f0888a2a7..a22c22bd693a 100644 --- a/drivers/cpufreq/pmac32-cpufreq.c +++ b/drivers/cpufreq/pmac32-cpufreq.c @@ -439,7 +439,6 @@ static struct cpufreq_driver pmac_cpufreq_driver = { .suspend = pmac_cpufreq_suspend, .resume = pmac_cpufreq_resume, .flags = CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING, - .attr = cpufreq_generic_attr, .name = "powermac", }; diff --git a/drivers/cpufreq/pmac64-cpufreq.c b/drivers/cpufreq/pmac64-cpufreq.c index 74ff6c47df29..80897ec8f00e 100644 --- a/drivers/cpufreq/pmac64-cpufreq.c +++ b/drivers/cpufreq/pmac64-cpufreq.c @@ -332,7 +332,6 @@ static struct cpufreq_driver g5_cpufreq_driver = { .verify = cpufreq_generic_frequency_table_verify, .target_index = g5_cpufreq_target, .get = g5_cpufreq_get_speed, - .attr = cpufreq_generic_attr, }; |