From: Viresh Kumar Date: Wed, 22 Jan 2025 10:53:51 +0000 (+0530) Subject: cpufreq: sc520_freq: Stop setting cpufreq_driver->attr field X-Git-Tag: v6.15-rc1~191^2~4^2^2~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e2079dcc2b63c75cd4a63d0dc6d42105f3e893a3;p=thirdparty%2Fkernel%2Flinux.git cpufreq: sc520_freq: 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/sc520_freq.c b/drivers/cpufreq/sc520_freq.c index 330c8d6cf93ca..103d2519dff77 100644 --- a/drivers/cpufreq/sc520_freq.c +++ b/drivers/cpufreq/sc520_freq.c @@ -92,7 +92,6 @@ static struct cpufreq_driver sc520_freq_driver = { .target_index = sc520_freq_target, .init = sc520_freq_cpu_init, .name = "sc520_freq", - .attr = cpufreq_generic_attr, }; static const struct x86_cpu_id sc520_ids[] = {