diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-07 12:18:53 -0800 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2017-03-09 17:18:42 +0100 |
commit | 708fc274b54dfd13fb83edae17cea9ead0a0f2be (patch) | |
tree | 12c20ab96d4dedcdb0224d37168d4f893513180b /src/include/device/i2c.h | |
parent | bb4ae07417c9b3be1af500a62514a2d42467cfb0 (diff) | |
download | coreboot-708fc274b54dfd13fb83edae17cea9ead0a0f2be.tar.xz |
src/include: Indent code using tabs
Fix the following error and warning detected by checkpatch.pl:
ERROR: code indent should use tabs where possible
WARNING: please, no spaces at the start of a line
TEST=Build and run on Galileo Gen2
Change-Id: I487771b8f4d7e104457116b772cd32df5cd721a6
Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com>
Reviewed-on: https://review.coreboot.org/18646
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/include/device/i2c.h')
-rw-r--r-- | src/include/device/i2c.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/device/i2c.h b/src/include/device/i2c.h index 6316748b85..b3a5ccadd5 100644 --- a/src/include/device/i2c.h +++ b/src/include/device/i2c.h @@ -100,7 +100,7 @@ static inline int i2c_read_raw(unsigned int bus, uint8_t chip, uint8_t *data, * [start][slave addr][w][data][stop] */ static inline int i2c_write_raw(unsigned int bus, uint8_t chip, uint8_t *data, - int len) + int len) { struct i2c_seg seg = { .read = 0, .chip = chip, .buf = data, .len = len }; |