summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cppc_cpufreq.c
diff options
context:
space:
mode:
authorZihuan Zhang <zhangzihuan@kylinos.cn>2025-08-27 10:31:48 +0800
committerViresh Kumar <viresh.kumar@linaro.org>2025-08-29 11:28:27 +0530
commiteaa9c1f31aef4d92d0ea6c9ecde33ea08733182a (patch)
treeb7ace6c24c11ba195fe622727b9132b5d2fedb1e /drivers/cpufreq/cppc_cpufreq.c
parentd939047d31ff25a49a39667417c2a996caa826f5 (diff)
cpufreq: brcmstb-avs: Use scope-based cleanup helper
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@kylinos.cn> [ Viresh: Minor changes to commit log ] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/cpufreq/cppc_cpufreq.c')
0 files changed, 0 insertions, 0 deletions