diff options
author | Zihuan Zhang <zhangzihuan@kylinos.cn> | 2025-08-27 10:31:49 +0800 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-08-29 11:33:57 +0530 |
commit | c8dc2368b23e1a9f11be4c941e13f3985195d0c9 (patch) | |
tree | 869b975f87d64788527b536f3839bd7b30c46136 /tools/docs/parse-headers.py | |
parent | eaa9c1f31aef4d92d0ea6c9ecde33ea08733182a (diff) |
cpufreq: CPPC: 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 ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions