diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-01-31 15:59:17 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-01 17:56:29 +0000 |
commit | 8ed02de830b27be0c0c1652cf79ac5a866101423 (patch) | |
tree | b9392a7fd390eed93709d62bdd43e9ca9f050c15 /tests/mock | |
parent | 3d945890d8d22fa2669b6777c572bbe42152453e (diff) |
drivers/i2c/designware/dw_i2c: return enum cb_err from dw_i2c_transfer
Using enum cb_err as return type instead of int improves the readability
of the code.
Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: Ic1812c4d8d2b4d9ad331a787bd302a4f0707c1fe
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61513
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Diffstat (limited to 'tests/mock')
0 files changed, 0 insertions, 0 deletions