2
0
mirror of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-09-04 20:19:47 +08:00

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 <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rafael@kernel.org>
This commit is contained in:
Viresh Kumar 2025-01-22 16:23:51 +05:30
parent 1a867c7ce6
commit ef282f6bef

View File

@ -147,7 +147,6 @@ static struct cpufreq_driver omap_driver = {
.exit = omap_cpu_exit, .exit = omap_cpu_exit,
.register_em = cpufreq_register_em_with_opp, .register_em = cpufreq_register_em_with_opp,
.name = "omap", .name = "omap",
.attr = cpufreq_generic_attr,
}; };
static int omap_cpufreq_probe(struct platform_device *pdev) static int omap_cpufreq_probe(struct platform_device *pdev)