[PATCH 03/33] cpufreq: acpi: Stop setting common freq attributes

From: Viresh Kumar
Date: Thu Jan 23 2025 - 06:38:54 EST


The core handles this now, the driver can skip setting it.

Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
---
drivers/cpufreq/acpi-cpufreq.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/cpufreq/acpi-cpufreq.c b/drivers/cpufreq/acpi-cpufreq.c
index c9ebacf5c88e..dcffddba5af5 100644
--- a/drivers/cpufreq/acpi-cpufreq.c
+++ b/drivers/cpufreq/acpi-cpufreq.c
@@ -936,7 +936,6 @@ static int acpi_cpufreq_resume(struct cpufreq_policy *policy)
}

static struct freq_attr *acpi_cpufreq_attr[] = {
- &cpufreq_freq_attr_scaling_available_freqs,
&freqdomain_cpus,
#ifdef CONFIG_X86_ACPI_CPUFREQ_CPB
&cpb,
--
2.31.1.272.g89b43f80a514