[PATCH 4/4] cpufreq: Make cpufreq_driver->exit() return void

Kevin Hilman khilman at kernel.org
Mon Jul 8 17:24:25 PDT 2024


Viresh Kumar <viresh.kumar at linaro.org> writes:

> From: Lizhe <sensor1010 at 163.com>
>
> The cpufreq core doesn't check the return type of the exit() callback
> and there is not much the core can do on failures at that point. Just
> drop the returned value and make it return void.
>
> Signed-off-by: Lizhe <sensor1010 at 163.com>
> [ Viresh: Reworked the patches to fix all missing changes together. ]
> Signed-off-by: Viresh Kumar <viresh.kumar at linaro.org>
> ---

[...]

>  drivers/cpufreq/omap-cpufreq.c         |  3 +--

For OMAP:

Acked-by: Kevin Hilman <khilman at baylibre.com>



More information about the Linux-mediatek mailing list