summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2020-01-07 15:10:29 +0100
committerPavel Machek <pavel@ucw.cz>2020-02-26 14:34:48 +0100
commitccbbb117c17eaf108216830bdd1e85a551ccc031 (patch)
treeb91f73f1376c946b8a7321442fe2379c61ae30da /drivers/virtio
parentleds: ns2: Absorb platform data (diff)
downloadlinux-ccbbb117c17eaf108216830bdd1e85a551ccc031.tar.xz
linux-ccbbb117c17eaf108216830bdd1e85a551ccc031.zip
leds: ns2: Convert to GPIO descriptors
This converts the NS2 LED driver to use GPIO descriptors. We take care to request the GPIOs "as is" which is what the current driver goes to lengths to achieve, then we use GPIOs throughout. As the nodes for each LED does not have any corresponding device, we need to use the DT-specific accessors to get these GPIO descriptors from the device tree. Cc: Vincent Donnefort <vdonnefort@gmail.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Tested-by: Simon Guinot <simon.guinot@sequanux.org> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions