Input: drv2667 - 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: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20240904044244.1042174-10-dmitry.torokhov@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>


Author Dmitry Torokhov Date Commit Parent cf3f3a08
+21 -23
1 changed file
+21 -23
1 changed file