mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 10:01:39 -05:00
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 <viresh.kumar@linaro.org> Acked-by: Rafael J. Wysocki <rafael@kernel.org>
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
/*
|
||||
|
||||
@@ -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[] = {
|
||||
|
||||
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user