mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
cpufreq: loongson: 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
d4a3b9572b
commit
06e9a34aa8
2 changed files with 0 additions and 2 deletions
|
|
@ -91,7 +91,6 @@ static struct cpufreq_driver loongson2_cpufreq_driver = {
|
|||
.verify = cpufreq_generic_frequency_table_verify,
|
||||
.target_index = loongson2_cpufreq_target,
|
||||
.get = cpufreq_generic_get,
|
||||
.attr = cpufreq_generic_attr,
|
||||
};
|
||||
|
||||
static const struct platform_device_id platform_device_ids[] = {
|
||||
|
|
|
|||
|
|
@ -337,7 +337,6 @@ static struct cpufreq_driver loongson3_cpufreq_driver = {
|
|||
.offline = loongson3_cpufreq_cpu_offline,
|
||||
.get = loongson3_cpufreq_get,
|
||||
.target_index = loongson3_cpufreq_target,
|
||||
.attr = cpufreq_generic_attr,
|
||||
.verify = cpufreq_generic_frequency_table_verify,
|
||||
.suspend = cpufreq_generic_suspend,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue