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

Florian Fainelli florian.fainelli at broadcom.com
Thu Jul 4 07:42:27 PDT 2024



On 7/4/2024 7:53 AM, Viresh Kumar wrote:
> 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/bmips-cpufreq.c        |  4 +---

For the above:

Reviewed-by: Florian Fainelli <florian.fainelli at broadcom.com>
-- 
Florian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-mediatek/attachments/20240704/6973d33f/attachment.p7s>


More information about the Linux-mediatek mailing list