Searched hist:fb8a5ffc77597a99678dbd5077f29ec9df54bdbe (Results 1 – 2 of 2) sorted by relevance
| /rk3399_rockchip-uboot/drivers/led/ |
| H A D | led-uclass.c | fb8a5ffc77597a99678dbd5077f29ec9df54bdbe Mon Jul 06 18:54:33 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|
| /rk3399_rockchip-uboot/include/ |
| H A D | led.h | fb8a5ffc77597a99678dbd5077f29ec9df54bdbe Mon Jul 06 18:54:33 UTC 2015 Simon Glass <sjg@chromium.org> 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>
|