mirror of https://github.com/torvalds/linux.git
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:
parent
c3245e78b5
commit
63c778aa15
|
|
@ -507,7 +507,6 @@ static struct cpufreq_driver centrino_driver = {
|
||||||
.verify = cpufreq_generic_frequency_table_verify,
|
.verify = cpufreq_generic_frequency_table_verify,
|
||||||
.target_index = centrino_target,
|
.target_index = centrino_target,
|
||||||
.get = get_cur_freq,
|
.get = get_cur_freq,
|
||||||
.attr = cpufreq_generic_attr,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,6 @@ static struct cpufreq_driver speedstep_driver = {
|
||||||
.target_index = speedstep_target,
|
.target_index = speedstep_target,
|
||||||
.init = speedstep_cpu_init,
|
.init = speedstep_cpu_init,
|
||||||
.get = speedstep_get,
|
.get = speedstep_get,
|
||||||
.attr = cpufreq_generic_attr,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct x86_cpu_id ss_smi_ids[] = {
|
static const struct x86_cpu_id ss_smi_ids[] = {
|
||||||
|
|
|
||||||
|
|
@ -295,7 +295,6 @@ static struct cpufreq_driver speedstep_driver = {
|
||||||
.init = speedstep_cpu_init,
|
.init = speedstep_cpu_init,
|
||||||
.get = speedstep_get,
|
.get = speedstep_get,
|
||||||
.resume = speedstep_resume,
|
.resume = speedstep_resume,
|
||||||
.attr = cpufreq_generic_attr,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct x86_cpu_id ss_smi_ids[] = {
|
static const struct x86_cpu_id ss_smi_ids[] = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue