u-boot/drivers/led
Simon Glass fb8a5ffc77 led: Return -ENODEV if the LED device cannot be found
We normally use -ENODEV for a missing device, rather than -ENOENT. The
latter is reserved for when we have a device but cannot find something
within it.

Also avoid looking at the root LED device since it is only a container.

Signed-off-by: Simon Glass <sjg@chromium.org>
2015-07-21 17:39:32 -06:00
..
Kconfig dm: led: Add a driver for GPIO-controlled LEDs 2015-07-21 17:39:24 -06:00
led_gpio.c dm: led: Add a driver for GPIO-controlled LEDs 2015-07-21 17:39:24 -06:00
led-uclass.c led: Return -ENODEV if the LED device cannot be found 2015-07-21 17:39:32 -06:00
Makefile dm: led: Add a driver for GPIO-controlled LEDs 2015-07-21 17:39:24 -06:00