summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpiolib-cdev.c
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-01-24 16:29:39 +0100
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-02-12 10:50:42 +0100
commit2a9101e875bc3aa6423b559e0ea43b2077f3be87 (patch)
tree59011ef0ef787908e1d5495fa816e3a337f36c23 /drivers/gpio/gpiolib-cdev.c
parent1f2bcb8c8ccdf9dc2e46f7986e1e22408506a6d6 (diff)
gpio: sysfs: use gpio_device_find() to iterate over existing devices
With the list of GPIO devices now protected with SRCU we can use gpio_device_find() to traverse it from sysfs. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/gpio/gpiolib-cdev.c')
0 files changed, 0 insertions, 0 deletions