[PATCH v2 05/18] cpufreq: CPPC: Use __free(put_cpufreq_policy) for policy reference
Viresh Kumar
viresh.kumar at linaro.org
Fri Aug 29 16:04:28 AEST 2025
On 27-08-25, 10:31, Zihuan Zhang wrote:
> Replace the manual cpufreq_cpu_put() with __free(put_cpufreq_policy)
> annotation for policy references. This reduces the risk of reference
> counting mistakes and aligns the code with the latest kernel style.
>
> No functional change intended.
>
> Signed-off-by: Zihuan Zhang <zhangzihuan at kylinos.cn>
> ---
> drivers/cpufreq/cppc_cpufreq.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
Applied. Thanks.
--
viresh
More information about the Linuxppc-dev
mailing list