diff options
author | Felix Held <felix-coreboot@felixheld.de> | 2022-01-31 15:52:36 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-01 17:51:42 +0000 |
commit | 3d945890d8d22fa2669b6777c572bbe42152453e (patch) | |
tree | 09675acce011dcb96f43409cce0068488ddf25b3 /tests/mock | |
parent | 2a542da89fcfb8bb0d021ce65c67bf68a00fdcc7 (diff) |
drivers/i2c/designware/dw_i2c: return enum cb_err from dw_i2c_init
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: I55e6d93ca141b687871ceaa763bbbbe966c4b4a3
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61511
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Raul Rangel <rrangel@chromium.org>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Diffstat (limited to 'tests/mock')
0 files changed, 0 insertions, 0 deletions