diff options
author | Zihuan Zhang <zhangzihuan@kylinos.cn> | 2025-08-27 05:31:55 +0300 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2025-08-29 09:29:04 +0300 |
commit | 7bc0084632dda2907ff1d021dff36ffbdd83468c (patch) | |
tree | e0a9603fd0937cfd918b2e53617dc5a4ac856344 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 4aeda901d6896344c5b0b3a8428c4a830007ea85 (diff) | |
download | linux-7bc0084632dda2907ff1d021dff36ffbdd83468c.tar.xz |
cpufreq: tegra186: 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/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions