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

Florian Fainelli
2024-07-04T14:43:02Z

[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

On 7/4/2024 7:53 AM, Viresh Kumar wrote:
> From: Lizhe <sensor1010@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@163.com>
> [ Viresh: Reworked the patches to fix all missing changes together. ]
> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
> ---
> drivers/cpufreq/bmips-cpufreq.c | 4 +---

For the above:

Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
--
Florian

[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4221 bytes --]