mirror-linux/include/linux/gpio
Stefan Kerkmann 364713741c gpiolib: introduce devm_fwnode_gpiod_get_optional() wrapper
The helper makes it easier to handle optional GPIOs and simplifies the
error handling code.

Signed-off-by: Stefan Kerkmann <s.kerkmann@pengutronix.de>
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Reviewed-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://lore.kernel.org/r/20260126-gpio-devm_fwnode_gpiod_get_optional-v2-1-ec34f8e35077@pengutronix.de
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
2026-01-27 10:13:37 +01:00
..
aspeed.h
consumer.h gpiolib: introduce devm_fwnode_gpiod_get_optional() wrapper 2026-01-27 10:13:37 +01:00
driver.h gpio: generic: move GPIO_GENERIC_ flags to the correct header 2025-09-24 13:52:35 +02:00
forwarder.h gpio: aggregator: add possibility to attach data to the forwarder 2025-08-11 15:39:31 +02:00
generic.h gpio: generic: move GPIO_GENERIC_ flags to the correct header 2025-09-24 13:52:35 +02:00
gpio-nomadik.h gpio: nomadik: fix the debugfs helper stub 2025-09-17 10:55:57 +02:00
gpio-reg.h
machine.h
property.h spi: Updates for v6.10 2024-05-14 14:41:01 -07:00
regmap.h gpio: regmap: fix kernel-doc notation 2025-11-28 12:58:05 +01:00