Home
last modified time | relevance | path

Searched hist:fb8a5ffc77597a99678dbd5077f29ec9df54bdbe (Results 1 – 2 of 2) sorted by relevance

/rk3399_rockchip-uboot/drivers/led/
H A Dled-uclass.cfb8a5ffc77597a99678dbd5077f29ec9df54bdbe 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 Dled.hfb8a5ffc77597a99678dbd5077f29ec9df54bdbe 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>