Linus Walleij c4e9441392 leds: gpio: Fix semantic error
The leds-gpio driver mixes up the legacy GPIO flags with the
GPIO descriptor flags and passes a legacy flag to
devm_gpiod_get_index().

Fix this by replacing the flags variable with the strict
descriptor flag.

Fixes: 45d4c6de4e49 ("leds: gpio: Try to lookup gpiod from device")
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
2020-07-12 10:14:05 +02:00
..
2020-05-25 12:56:39 +02:00
2020-07-12 10:04:59 +02:00
2020-05-25 12:56:39 +02:00
2020-07-12 10:14:05 +02:00
2020-01-02 22:41:53 +01:00
2020-04-27 11:44:51 +02:00
2020-05-25 12:56:39 +02:00