Bartosz Golaszewski 1979a28075 gpiolib: replace the GPIO device mutex with a read-write semaphore
There are only two spots where we modify (add to or remove objects from)
the GPIO device list. Readers should be able to access it concurrently.
Replace the mutex with a read-write semaphore and adjust the locking
operations accordingly.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
2024-01-04 10:29:16 +01:00
..
2023-10-13 08:39:30 +02:00
2022-10-26 14:52:01 +02:00
2023-12-18 13:43:06 +01:00
2022-10-08 09:46:29 -07:00
2023-11-09 13:47:52 -08:00
2023-10-04 11:37:25 +02:00
2023-08-21 10:39:58 +02:00
2022-06-21 18:01:11 +03:00
2023-03-06 12:33:02 +02:00
2023-10-31 17:21:54 -10:00
2022-01-14 18:50:52 -05:00
2023-08-29 10:21:56 -07:00
2023-10-31 17:21:54 -10:00
2023-03-06 12:33:02 +02:00
2023-11-02 14:34:14 -10:00
2023-03-06 12:33:02 +02:00