Edward O'Callaghan has submitted this change. ( https://review.coreboot.org/c/flashrom/+/52828 )
Change subject: i2c_helper_linux: Clean up whitespace a bit ......................................................................
i2c_helper_linux: Clean up whitespace a bit
Use tabs to indent code and drop an unnecessary newline.
Change-Id: I8fe4a8b9213677e0d0bee9681abf94726c934cc6 Signed-off-by: Angel Pons th3fanbus@gmail.com Reviewed-on: https://review.coreboot.org/c/flashrom/+/52828 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Edward O'Callaghan quasisec@chromium.org Reviewed-by: Anastasia Klimchuk aklm@chromium.org --- M i2c_helper_linux.c 1 file changed, 1 insertion(+), 2 deletions(-)
Approvals: build bot (Jenkins): Verified Edward O'Callaghan: Looks good to me, approved Anastasia Klimchuk: Looks good to me, but someone else must approve
diff --git a/i2c_helper_linux.c b/i2c_helper_linux.c index 7744505..963c399 100644 --- a/i2c_helper_linux.c +++ b/i2c_helper_linux.c @@ -50,13 +50,12 @@ if (ret < 0) { msg_perr("Unable to set I2C slave address to 0x%02x: %s.\n", addr, strerror(errno)); i2c_close(fd); - return ret; + return ret; }
return fd; }
- int i2c_open(int bus, uint16_t addr, int force) { char dev[sizeof(I2C_DEV_PREFIX)] = {0};