efi_loader: use type bool for event states
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 4 Oct 2017 13:03:24 +0000 (15:03 +0200)
committerAlexander Graf <agraf@suse.de>
Mon, 9 Oct 2017 04:59:38 +0000 (06:59 +0200)
commite190e8972faf4d5b09e2a92fefc54a1832fd67da
tree99e581bcd2ab554b264651ad0ec676f2ea1fc5d2
parent037ee6f91bb06fb664d57668effdea7656edce25
efi_loader: use type bool for event states

Queued and signaled describe boolean states of events.
So let's use type bool and rename the structure members to is_queued
and is_signaled.

Update the comments for is_queued and is_signaled.

Reported-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
include/efi_loader.h
lib/efi_loader/efi_boottime.c
lib/efi_loader/efi_console.c