Bartosz Golaszewski f4af1671c2 gpio: sysfs: use cleanup guards for the sysfs_lock mutex
Shrink the code and remove some goto labels by using guards around the
sysfs_lock mutex.

Reviewed-by: Kent Gibson <warthog618@gmail.com>
Link: https://lore.kernel.org/r/20241031-gpio-notify-sysfs-v4-2-142021c2195c@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
2024-11-04 08:56:19 +01:00
..
2024-10-21 09:23:20 +02:00
2024-10-17 08:53:34 +02:00
2021-04-14 10:19:22 +01:00
2024-10-21 09:23:34 +02:00
2024-10-22 09:04:35 +02:00
2023-10-13 08:39:30 +02:00
2021-05-05 16:07:41 +02:00
2022-10-26 14:52:01 +02:00
2024-07-15 17:53:24 -07:00
2022-10-08 09:46:29 -07:00
2023-08-21 10:39:58 +02:00
2023-03-06 12:33:02 +02:00
2024-11-04 08:46:55 +01:00
2024-09-04 09:02:44 +02:00
2023-08-29 10:21:56 -07:00
2019-12-09 10:40:18 +01:00
2024-09-30 10:16:26 +02:00