]> git.ipfire.org Git - thirdparty/linux.git/commit
gpiolib: legacy: Make sure we kill gpio_request_one() first
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 12 Nov 2025 09:32:01 +0000 (10:32 +0100)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 17 Nov 2025 09:57:28 +0000 (10:57 +0100)
commit61e1fd2abca4c551fb40afcb733a31de1991c656
tree567a422106d7b7ed62155e92c2e7e2f4808cc1f1
parent82e71fe4368699341333e7e0d059ef7df139cf95
gpiolib: legacy: Make sure we kill gpio_request_one() first

Make sure we kill gpio_request_one() first by converting it to
use legacy APIs that will be alive a bit longer. In particular,
this also shows the code we will use in another function to make
it die independently.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20251112093608.1481030-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpiolib-legacy.c