summaryrefslogtreecommitdiff
path: root/samples/rust/rust_driver_platform.rs
diff options
context:
space:
mode:
authorZihuan Zhang <zhangzihuan@kylinos.cn>2025-09-05 21:24:09 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2025-09-08 19:53:32 +0200
commit2167bb92bdebb187e8b3a102987356ce981b77de (patch)
treed4aa772c50bca3cc8e7eca783e3c6bd001b9476a /samples/rust/rust_driver_platform.rs
parent9d68320b2bca876278856fdc1e8684a7494dd069 (diff)
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 'samples/rust/rust_driver_platform.rs')
0 files changed, 0 insertions, 0 deletions