Angel Pons has uploaded this change for review.

View Change

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>
---
M i2c_helper_linux.c
1 file changed, 1 insertion(+), 2 deletions(-)

git pull ssh://review.coreboot.org:29418/flashrom refs/changes/28/52828/1
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};

To view, visit change 52828. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I8fe4a8b9213677e0d0bee9681abf94726c934cc6
Gerrit-Change-Number: 52828
Gerrit-PatchSet: 1
Gerrit-Owner: Angel Pons <th3fanbus@gmail.com>
Gerrit-MessageType: newchange