On Sat, Dec 2, 2023 at 7:37 PM Stefan Wahren <wahrenst@xxxxxxx> wrote: > In case leds-gpio fails to get at least one of possibly many GPIOs > from the DT (e.g. the GPIO is already requested) neither gpiolib nor > the driver does provide any helpful error log: > > leds-gpio: probe of leds failed with error -16 > > As the driver knows better how to handle errors with such mandatory > GPIOs, let's implement an error log which points to the affected > GPIO. > > Signed-off-by: Stefan Wahren <wahrenst@xxxxxxx> Reviewed-by: Linus Walleij <linus.walleij@xxxxxxxxxx> Yours, Linus Walleij