diff options
author | Simon Glass <sjg@chromium.org> | 2015-07-06 18:54:33 (GMT) |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-07-21 23:39:32 (GMT) |
commit | fb8a5ffc77597a99678dbd5077f29ec9df54bdbe (patch) | |
tree | 2c8c1b149b87b289471269fe3b8624484c2d839e /arch/nds32 | |
parent | 8e6cc46178f9eecada860f7a8f14672e6a94c2de (diff) | |
download | u-boot-fb8a5ffc77597a99678dbd5077f29ec9df54bdbe.tar.xz |
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>
Diffstat (limited to 'arch/nds32')
0 files changed, 0 insertions, 0 deletions