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

From: Florian Fainelli
Date: Thu Jul 04 2024 - 10:43:26 EST




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

For the above:

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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature