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

From: Sudeep Holla
Date: Thu Jul 04 2024 - 05:26:51 EST


On Thu, Jul 04, 2024 at 12:23:55PM +0530, Viresh Kumar wrote:
> From: Lizhe <sensor1010@xxxxxxx>
>
> 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@xxxxxxx>
> [ Viresh: Reworked the patches to fix all missing changes together. ]
> Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> ---

[...]

> drivers/cpufreq/scmi-cpufreq.c | 4 +---
> drivers/cpufreq/scpi-cpufreq.c | 4 +---
> drivers/cpufreq/vexpress-spc-cpufreq.c | 5 ++---

(For the above 3 files)
Acked-by: Sudeep Holla <sudeep.holla@xxxxxxx>

--
Regards,
Sudeep