summaryrefslogtreecommitdiff
path: root/src/drivers/i2c
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2020-01-14 01:16:37 +0100
committerPatrick Georgi <pgeorgi@google.com>2020-03-02 11:46:24 +0000
commit2a6140ea85fc23e9d024e557714480bfa9afed21 (patch)
tree399dbd2d3da5f440bb5ad705da20f70c80cd0a0d /src/drivers/i2c
parent9ab4dc32b43e4c49de710123769de9acc09e7a0f (diff)
drivers/i2c/at24rf08c: Correctly format short multi-line comments
Change-Id: I84e09706aceae69671ce429d77e7874128468307 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38391 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/drivers/i2c')
-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;