From: Viresh Kumar Date: Wed, 22 Jan 2025 10:53:51 +0000 (+0530) Subject: cpufreq: omap: Stop setting cpufreq_driver->attr field X-Git-Tag: v6.15-rc1~191^2~4^2^2~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ef282f6bef1456266ba7af6f5408e6b4615c1738;p=thirdparty%2Fkernel%2Flinux.git cpufreq: omap: 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/omap-cpufreq.c b/drivers/cpufreq/omap-cpufreq.c index 106220c0fd113..bbb01d93b54b1 100644 --- a/drivers/cpufreq/omap-cpufreq.c +++ b/drivers/cpufreq/omap-cpufreq.c @@ -147,7 +147,6 @@ static struct cpufreq_driver omap_driver = { .exit = omap_cpu_exit, .register_em = cpufreq_register_em_with_opp, .name = "omap", - .attr = cpufreq_generic_attr, }; static int omap_cpufreq_probe(struct platform_device *pdev)