diff options
| author | Zihuan Zhang <zhangzihuan@kylinos.cn> | 2025-09-05 16:24:09 +0300 |
|---|---|---|
| committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2025-09-08 20:53:32 +0300 |
| commit | 2167bb92bdebb187e8b3a102987356ce981b77de (patch) | |
| tree | d4aa772c50bca3cc8e7eca783e3c6bd001b9476a /rust/helpers/err.c | |
| parent | 9d68320b2bca876278856fdc1e8684a7494dd069 (diff) | |
| download | linux-2167bb92bdebb187e8b3a102987356ce981b77de.tar.xz | |
ACPI: processor: thermal: Release policy references using __free()
Replace the manual cpufreq_cpu_put() with __free(put_cpufreq_policy)
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>
Link: https://patch.msgid.link/20250905132413.1376220-3-zhangzihuan@kylinos.cn
[ rjw: Subject and changelog edits, whitespace fixups ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'rust/helpers/err.c')
0 files changed, 0 insertions, 0 deletions
