From: Viresh Kumar Date: Wed, 22 Jan 2025 10:53:51 +0000 (+0530) Subject: cpufreq: longhaul: Stop setting cpufreq_driver->attr field X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=d4a3b9572b83c38d1913afbd0aa498ebb916b06d;p=users%2Fjedix%2Flinux-maple.git cpufreq: longhaul: 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 Acked-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/longhaul.c b/drivers/cpufreq/longhaul.c index bd6fe8638d39..68ccd73c8129 100644 --- a/drivers/cpufreq/longhaul.c +++ b/drivers/cpufreq/longhaul.c @@ -906,7 +906,6 @@ static struct cpufreq_driver longhaul_driver = { .get = longhaul_get, .init = longhaul_cpu_init, .name = "longhaul", - .attr = cpufreq_generic_attr, }; static const struct x86_cpu_id longhaul_id[] = {