summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_parser.py
diff options
context:
space:
mode:
authorAndrew Davis <afd@ti.com>2025-04-07 21:35:51 +0300
committerLee Jones <lee@kernel.org>2025-05-14 11:24:52 +0300
commit87a59548af95db9b6b3a19fdd5b4e6c49bdbc285 (patch)
tree87a3f678c559fd36aebd6be6fb9050eb3a43a57d /scripts/lib/kdoc/kdoc_parser.py
parent4bab18dcb452e00e28e181eb2d7a3a3a6a5d1413 (diff)
downloadlinux-87a59548af95db9b6b3a19fdd5b4e6c49bdbc285.tar.xz
leds: lp8860: Use new mutex guards to cleanup function exits
Use scoped mutex guards to simplify return paths. While here use devm_mutex_init() to register the muxex so it also is cleaned up automatically. Signed-off-by: Andrew Davis <afd@ti.com> Link: https://lore.kernel.org/r/20250407183555.409687-2-afd@ti.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions