summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2018-10-05 10:36:45 +0200
committerPatrick Georgi <pgeorgi@google.com>2018-10-08 09:46:16 +0000
commit88607a4b1002ed6acc7f316f274feea2fd861095 (patch)
treee004c85f36109da78872b88875d4f0ea1c30aaff /src/drivers/i2c
parentd9169f826a3c19a7380a7d73c7126e52eb62e77d (diff)
downloadcoreboot-88607a4b1002ed6acc7f316f274feea2fd861095.tar.xz
src: Use tabs for indentation
Change-Id: I6b40aaf5af5d114bbb0cd227dfd50b0ee19eebba Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/28934 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/i2c')
-rw-r--r--src/drivers/i2c/at24rf08c/at24rf08c.c2
-rw-r--r--src/drivers/i2c/at24rf08c/lenovo_serials.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/drivers/i2c/at24rf08c/at24rf08c.c b/src/drivers/i2c/at24rf08c/at24rf08c.c
index aa262d743b..4918630ccd 100644
--- a/src/drivers/i2c/at24rf08c/at24rf08c.c
+++ b/src/drivers/i2c/at24rf08c/at24rf08c.c
@@ -28,7 +28,7 @@ static void at24rf08c_init(struct device *dev)
if (!dev->enabled)
return;
- /* Ensure that EEPROM/RFID chip is not accessible through RFID.
+ /* Ensure that EEPROM/RFID chip is not accessible through RFID.
Need to do it only on 5c. */
if (dev->path.type != DEVICE_PATH_I2C || dev->path.i2c.device != 0x5c)
return;
diff --git a/src/drivers/i2c/at24rf08c/lenovo_serials.c b/src/drivers/i2c/at24rf08c/lenovo_serials.c
index d0d006f8e5..0209bb28b9 100644
--- a/src/drivers/i2c/at24rf08c/lenovo_serials.c
+++ b/src/drivers/i2c/at24rf08c/lenovo_serials.c
@@ -39,7 +39,7 @@ static int at24rf08c_read_byte(struct device *dev, u8 addr)
int t = -1;
int j;
- /* After a register write AT24RF08C (which we issued in init function)
+ /* After a register write AT24RF08C (which we issued in init function)
sometimes stops responding. Retry several times in case of failure.
*/
for (j = 0; j < 100; j++) {