Thread (8 messages) flat view 8 messages, 7 authors, 2024-07-09

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

From: Sudeep Holla <hidden>
Date: 2024-07-04 09:26:33
Also in: asahi, linux-arm-kernel, linux-arm-msm, linux-mediatek, linux-omap, linux-pm, linux-tegra, lkml

On Thu, Jul 04, 2024 at 12:23:55PM +0530, Viresh Kumar wrote:
From: Lizhe <redacted>

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 <redacted>
[ Viresh: Reworked the patches to fix all missing changes together. ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
---
[...]
 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 <redacted>

--
Regards,
Sudeep
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help