[U-Boot] [PATCH 4/6] cmd: led: add enum led_cmd member to support error code return

Simon Glass sjg at chromium.org
Sat Apr 1 04:22:57 UTC 2017


On 27 March 2017 at 08:38,  <techping.chan at gmail.com> wrote:
> From: Ziping Chen <techping.chan at gmail.com>
>
> Add enum led_cmd member LED_CMD_ERROR, so that the enum can contain
> the error code -1.
>
> Signed-off-by: Ziping Chen <techping.chan at gmail.com>
> ---
>  cmd/led.c | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list