diff options
author | Erick Karanja <karanja99erick@gmail.com> | 2025-08-28 12:35:55 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2025-08-28 10:39:54 -0500 |
commit | f2543da14dc2b9bee337f1f9466ab3fedae1cd84 (patch) | |
tree | 3547f1fc7e2ba29d1b538ff4cc4e23ff8d1adc7c /scripts/generate_rust_analyzer.py | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
PCI: switchtec: Replace manual locks with guard
Replace lock/unlock pairs with guards to simplify and tidy up the code.
Generated-by: Coccinelle SmPL
Signed-off-by: Erick Karanja <karanja99erick@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Link: https://patch.msgid.link/20250828093556.810911-1-karanja99erick@gmail.com
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions