summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/netdev-times.py
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2026-09-29 21:59:10 -0700
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>2026-10-13 12:03:31 +0300
commit73d69ee10f7ca1609262263c84c80938e9c608e4 (patch)
treef6429b32eb55d58a35ab6b5d5d1bd08ed3e2b946 /tools/perf/scripts/python/netdev-times.py
parent6523134ed06a7d5f626fdc1b084a61f69b22fdd8 (diff)
platform/x86: thinkpad_acpi: convert conditional mutex locks to ACQUIRE_ERR()
Convert conditional mutex_lock_killable() and mutex_lock_interruptible() calls to ACQUIRE() and ACQUIRE_ERR() from linux/cleanup.h. This eliminates explicit mutex_unlock() calls on return paths and simplifies error handling across hotkey, brightness, volume, fan, and dytc functions. 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-1-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/netdev-times.py')
0 files changed, 0 insertions, 0 deletions