diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2026-09-29 21:59:11 -0700 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-10-13 12:03:32 +0300 |
| commit | 4c73df98adedc00963b6a45101a112c9ff5c2e16 (patch) | |
| tree | 85a0fdcb997f6dc59daea4a511e589b2b8021420 /tools/perf/scripts/python/parallel-perf.py | |
| parent | 73d69ee10f7ca1609262263c84c80938e9c608e4 (diff) | |
platform/x86: thinkpad_acpi: use __free(kfree) for automatic cleanup
Use __free(kfree) for local pointer allocations in
dispatch_proc_write(), tpacpi_evaluate_bcl(), and auxmac_init().
This ensures automatic memory cleanup when exiting function scope and
removes explicit kfree() calls on exit paths.
Assisted-by: LLM
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Tested-by: Ali Ahmet Memiş <aliamemis@disroot.org>
Tested-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Link: https://patch.msgid.link/20260929-thinkpad-acpi-cleanup-v2-2-88e176953a4b@gmail.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions
