aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorLi Ming <[email protected]>2024-08-30 01:31:37 +0000
committerDave Jiang <[email protected]>2024-09-03 14:49:49 -0700
commit7f569e917b7866b6760e2cfc3a9549cabc890071 (patch)
tree9f49e3c2fe54c992e7fa4c8c490618ce79fdd580 /scripts/gdb/linux/timerlist.py
parentdd2617ebd2a69c012001a29274557199409eff39 (diff)
cxl/port: Use scoped_guard()/guard() to drop device_lock() for cxl_port
A device_lock() and device_unlock() pair can be replaced by a cleanup helper scoped_guard() or guard(), that can enhance code readability. In CXL subsystem, still use device_lock() and device_unlock() pairs for cxl port resource protection, most of them can be replaced by a scoped_guard() or a guard() simply. Suggested-by: Dan Williams <[email protected]> Signed-off-by: Li Ming <[email protected]> Reviewed-by: Jonathan Cameron <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Dave Jiang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions