]> www.infradead.org Git - users/jedix/linux-maple.git/commit
gpio: deprecate the GPIOD_FLAGS_BIT_NONEXCLUSIVE flag
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 1 Apr 2025 12:46:42 +0000 (14:46 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 8 Apr 2025 08:41:58 +0000 (10:41 +0200)
commit6deb8435f6bfcc9b6c7efe3b8a941ae2fb731495
tree7166a0f334f81e4262f0cd420f1ae9c0341db395
parent8323f3a69de6f6e96bf22f32dd8e2920766050c2
gpio: deprecate the GPIOD_FLAGS_BIT_NONEXCLUSIVE flag

The non-exclusive GPIO request flag looks like a functional feature but
is in fact a workaround for a corner-case that got out of hand. It should
be removed so deprecate it officially so that nobody uses it anymore.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20250401-gpio-todo-remove-nonexclusive-v2-1-7c1380797b0d@linaro.org
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
include/linux/gpio/consumer.h