summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorZihuan Zhang <zhangzihuan@kylinos.cn>2025-08-27 05:31:52 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2025-08-29 09:17:36 +0300
commit4aeda901d6896344c5b0b3a8428c4a830007ea85 (patch)
treeee4f24825b08c78cf2d3b30753a9cc447c291621 /tools/testing/selftests/net/lib/py/utils.py
parent95102e0cc15688ddffc8da1f15cfec2276fa45e5 (diff)
downloadlinux-4aeda901d6896344c5b0b3a8428c4a830007ea85.tar.xz
cpufreq: mediatek: 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/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions