diff options
author | Tim Wawrzynczak <twawrzynczak@chromium.org> | 2022-02-15 17:59:58 -0700 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-03-01 16:52:21 +0000 |
commit | 591c7ebf18359e9686aa592bc5636e9811a5a468 (patch) | |
tree | cc86610f8609fdec925fd06533891e10414bb9e8 /src/mainboard/google | |
parent | d736fd4ea7a9060450d10dac7c4ea9b312b8c1e9 (diff) |
drivers/tpm/spi: Convert static functions to enum cb_err return types
Instead of using raw integers to indicate success/failure, enum cb_err
can be used to makes things clearer, so this patch converts most
functions to return that instead of int.
TEST=boot to OS on google/dratini, no TPM errors seen
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: Ifb749c931fe008b16d42fcf157af820ec8fbf5ac
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61976
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/mainboard/google')
0 files changed, 0 insertions, 0 deletions