summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpiolib-swnode.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2022-11-11 23:19:07 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2022-11-15 11:21:30 +0100
commit8eb1f71e7acca4f92cf9cf83030cbb8ec2524025 (patch)
tree0e5a9fe0bec2a73d0d948e16e4a312d23502b637 /drivers/gpio/gpiolib-swnode.h
parentgpiolib: acpi: avoid leaking ACPI details into upper gpiolib layers (diff)
downloadlinux-8eb1f71e7acca4f92cf9cf83030cbb8ec2524025.tar.xz
linux-8eb1f71e7acca4f92cf9cf83030cbb8ec2524025.zip
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 'drivers/gpio/gpiolib-swnode.h')
0 files changed, 0 insertions, 0 deletions