gpiolib: cdev: replace locking wrappers for config_mutex with guards
authorKent Gibson <warthog618@gmail.com>
Thu, 21 Dec 2023 01:20:39 +0000 (09:20 +0800)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 27 Dec 2023 14:45:30 +0000 (15:45 +0100)
commit32d8e3b6453d0ebd4eb8c31c593f432f6fdad4dd
tree6ce62cba04a61948ede320b9aa2ebfb33f42f5f5
parentb718fbfea9df4f715ddd4c61a671226fb11bb232
gpiolib: cdev: replace locking wrappers for config_mutex with guards

After the adoption of guard(), the locking wrappers that hold the
config_mutex for linereq_set_values() and linereq_set_config() no
longer add value, so combine them into the functions they wrap.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-cdev.c