Skip to content

Commit 63c778a

Browse files
committed
cpufreq: speedstep: 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 <[email protected]> Acked-by: Rafael J. Wysocki <[email protected]>
1 parent c3245e7 commit 63c778a

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

drivers/cpufreq/speedstep-centrino.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,6 @@ static struct cpufreq_driver centrino_driver = {
507507
.verify = cpufreq_generic_frequency_table_verify,
508508
.target_index = centrino_target,
509509
.get = get_cur_freq,
510-
.attr = cpufreq_generic_attr,
511510
};
512511

513512
/*

drivers/cpufreq/speedstep-ich.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ static struct cpufreq_driver speedstep_driver = {
315315
.target_index = speedstep_target,
316316
.init = speedstep_cpu_init,
317317
.get = speedstep_get,
318-
.attr = cpufreq_generic_attr,
319318
};
320319

321320
static const struct x86_cpu_id ss_smi_ids[] = {

drivers/cpufreq/speedstep-smi.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ static struct cpufreq_driver speedstep_driver = {
295295
.init = speedstep_cpu_init,
296296
.get = speedstep_get,
297297
.resume = speedstep_resume,
298-
.attr = cpufreq_generic_attr,
299298
};
300299

301300
static const struct x86_cpu_id ss_smi_ids[] = {

0 commit comments

Comments
 (0)