]> Gentwo Git Trees - linux/.git/commit
ACPI: processor: thermal: Release policy references using __free()
authorZihuan Zhang <zhangzihuan@kylinos.cn>
Fri, 5 Sep 2025 13:24:09 +0000 (21:24 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 8 Sep 2025 17:53:32 +0000 (19:53 +0200)
commit2167bb92bdebb187e8b3a102987356ce981b77de
treed4aa772c50bca3cc8e7eca783e3c6bd001b9476a
parent9d68320b2bca876278856fdc1e8684a7494dd069
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>
drivers/acpi/processor_thermal.c