summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2018-09-07 00:09:40 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-09-10 21:14:17 +0200
commit45d4c6de4e497e5b0026c77044ae5fcddf8fecd8 (patch)
tree4e60aff78bd51b5673b406f729a48725e5508427 /Documentation
parentleds: pwm: silently error out on EPROBE_DEFER (diff)
downloadlinux-45d4c6de4e497e5b0026c77044ae5fcddf8fecd8.tar.xz
linux-45d4c6de4e497e5b0026c77044ae5fcddf8fecd8.zip
leds: gpio: Try to lookup gpiod from device
This augments the GPIO lookup code in the GPIO LEDs to attempt to look up a GPIO descriptor from the device with index. This makes it possible to use GPIO machine look-up tables and stop passing global GPIO numbers through platform data. Using this we can stepwise convert existing board files to use machine descriptor tables and then eventually drop the legacy GPIO support and only include <linux/gpio/consumer.h> and use descriptors exclusively. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions