summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/drivers/i2c/at24rf08c/at24rf08c.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/drivers/i2c/at24rf08c/at24rf08c.c b/src/drivers/i2c/at24rf08c/at24rf08c.c
index 102e0e8c7c..daf04a9d1a 100644
--- a/src/drivers/i2c/at24rf08c/at24rf08c.c
+++ b/src/drivers/i2c/at24rf08c/at24rf08c.c
@@ -25,7 +25,7 @@ static void at24rf08c_init(struct device *dev)
return;
/* Ensure that EEPROM/RFID chip is not accessible through RFID.
- Need to do it only on 5c. */
+ Need to do it only on 5c. */
if (dev->path.type != DEVICE_PATH_I2C || dev->path.i2c.device != 0x5c)
return;
@@ -34,8 +34,7 @@ static void at24rf08c_init(struct device *dev)
for (i = 0; i < 8; i++)
{
/* After a register write AT24RF08C sometimes stops responding.
- Retry several times in case of failure.
- */
+ Retry several times in case of failure. */
for (j = 0; j < 100; j++)
if (smbus_write_byte(dev, i, 0x0f) >= 0)
break;