diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-11-11 14:19:07 -0800 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2022-11-15 11:21:30 +0100 |
| commit | 8eb1f71e7acca4f92cf9cf83030cbb8ec2524025 (patch) | |
| tree | 0e5a9fe0bec2a73d0d948e16e4a312d23502b637 /include/linux/overflow.h | |
| parent | b7452d670fdef8974e18754342fe6f68e20c2567 (diff) | |
gpiolib: consolidate GPIO lookups
Ensure that all paths to obtain/look up GPIOD from generic
consumer-visible APIs go through the new gpiod_find_and_request()
helper, so that we can easily extend it with support for new firmware
mechanisms.
The only exception is OF-specific [devm_]gpiod_get_from_of_node() API
that is still being used by a couple of drivers and will be removed as
soon as patches converting them to use generic fwnode/device APIs are
accepted.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions
