]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
cpufreq: speedstep: 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:14 +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/speedstep-centrino.c
drivers/cpufreq/speedstep-ich.c
drivers/cpufreq/speedstep-smi.c

index 3fafedb983b5bb266eeb730f2aa97613786f9bb1..3e6e85a92212931a511e06036a75f3e284d56002 100644 (file)
@@ -507,7 +507,6 @@ static struct cpufreq_driver centrino_driver = {
        .verify         = cpufreq_generic_frequency_table_verify,
        .target_index   = centrino_target,
        .get            = get_cur_freq,
-       .attr           = cpufreq_generic_attr,
 };
 
 /*
index f2076d72bf39966b7ceff580f663ede1fda4f70a..262cfbde9ca7e3459d9ba6e0d93de46bad448059 100644 (file)
@@ -315,7 +315,6 @@ static struct cpufreq_driver speedstep_driver = {
        .target_index = speedstep_target,
        .init   = speedstep_cpu_init,
        .get    = speedstep_get,
-       .attr   = cpufreq_generic_attr,
 };
 
 static const struct x86_cpu_id ss_smi_ids[] = {
index 0ce9d4b6dfcc0f3a9fb2bb7033576a4a81a2a82e..39265884c3f199e67708b5fff913945da490ea30 100644 (file)
@@ -295,7 +295,6 @@ static struct cpufreq_driver speedstep_driver = {
        .init           = speedstep_cpu_init,
        .get            = speedstep_get,
        .resume         = speedstep_resume,
-       .attr           = cpufreq_generic_attr,
 };
 
 static const struct x86_cpu_id ss_smi_ids[] = {