diff options
author | Nico Huber <nico.h@gmx.de> | 2020-10-24 17:19:15 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-10-26 06:57:47 +0000 |
commit | d9e543a5f9e0aa3c844e82fedf2499f30c0f9e69 (patch) | |
tree | 0b5bc150adc65c0469f4bd802511deed4f050fe3 /payloads/coreinfo | |
parent | f56d65266c618ebc4e9254752f20dd73eea199f1 (diff) |
libpayload/keyboard: Use `bool` as return type
Use `bool` whenever `0` was used to indicate an error. The mixing of
different types for return values was mildly confusing and potentially
dangerous with the i8042 API close by that uses `0` for success.
Change-Id: I876bb5076c4921f36e3438f359be8ac4c09248cc
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/46723
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'payloads/coreinfo')
0 files changed, 0 insertions, 0 deletions