summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-a10sr.c
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-24 18:47:08 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2024-10-30 15:54:51 -0700
commite1325e19d2256c4724fb465c547333af424e5de5 (patch)
treed416bb732215d573c9ae71da73d00d763394c38d /drivers/reset/reset-a10sr.c
parentb4badee88cd3af8b31f93ca1469f499ddabd01c5 (diff)
Input: omap-keypad - use guard notation when acquiring mutex
Using guard notation makes the code more compact and error handling more robust by ensuring that mutexes are released in all code paths when control leaves critical section. Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/Zxr4nF-igbrmgq85@google.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/reset/reset-a10sr.c')
0 files changed, 0 insertions, 0 deletions