gpiolib: rename static functions that are called with the lock taken
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Fri, 15 Dec 2023 15:52:59 +0000 (16:52 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 18 Dec 2023 08:59:20 +0000 (09:59 +0100)
commitf95fd4ac155733b5735c84a2e56eee8321232095
treed956aad8e2aa3a3a6d1701434de1e8b383b92d7f
parent4c7fcbf5077532b80bc233c83d56e09a6bfa16b0
gpiolib: rename static functions that are called with the lock taken

Rename two functions that read or modify the global GPIO device list but
don't take the lock themselves (and need to be called with it already
acquired). Use the _unlocked() suffix which seems to be used quite
consistently across the kernel despite there also existing the _locked()
suffix for the same purpose.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/gpio/gpiolib.c