aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2024-08-24 22:28:43 -0700
committerDmitry Torokhov <[email protected]>2024-10-03 08:42:45 -0700
commit2e26a761619ed437b1e1b22c27eabdffb708c9f2 (patch)
tree5e4c9d5e7a34ead067549f85776d1817fc89a51b /tools/perf/scripts/python/mem-phys-addr.py
parentc610e95f7769e52ae9f62eb3b5169ee3f7653905 (diff)
Input: elan_i2c - switch to using cleanup functions
Start using __free() and guard() primitives to simplify the code and error handling. This makes the code more compact and error handling more robust by ensuring that locks are released in all code paths when control leaves critical section and all allocated memory is freed. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions