diff options
| author | Stefan Kerkmann <s.kerkmann@pengutronix.de> | 2026-01-26 15:27:47 +0100 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-01-27 10:13:37 +0100 |
| commit | 364713741ca19b8f6a506d073af1deff5b2d124a (patch) | |
| tree | 5a6aba2d180cc5b41c2a88f899d78b157eeb22a7 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 3a6a36a3fc4e18e202eaf6c258553b5a17b91677 (diff) | |
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>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
