mirror of
https://github.com/torvalds/linux.git
synced 2025-04-12 16:47:42 +00:00
cpufreq: powernow: 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
6cdc8c3ca9
commit
5b6fc62eff
@ -253,7 +253,6 @@ static struct cpufreq_driver powernow_k6_driver = {
|
||||
.exit = powernow_k6_cpu_exit,
|
||||
.get = powernow_k6_get,
|
||||
.name = "powernow-k6",
|
||||
.attr = cpufreq_generic_attr,
|
||||
};
|
||||
|
||||
static const struct x86_cpu_id powernow_k6_ids[] = {
|
||||
|
@ -667,7 +667,6 @@ static struct cpufreq_driver powernow_driver = {
|
||||
.init = powernow_cpu_init,
|
||||
.exit = powernow_cpu_exit,
|
||||
.name = "powernow-k7",
|
||||
.attr = cpufreq_generic_attr,
|
||||
};
|
||||
|
||||
static int __init powernow_init(void)
|
||||
|
@ -1143,7 +1143,6 @@ static struct cpufreq_driver cpufreq_amd64_driver = {
|
||||
.exit = powernowk8_cpu_exit,
|
||||
.get = powernowk8_get,
|
||||
.name = "powernow-k8",
|
||||
.attr = cpufreq_generic_attr,
|
||||
};
|
||||
|
||||
static void __request_acpi_cpufreq(void)
|
||||
|
Loading…
x
Reference in New Issue
Block a user