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>
This commit is contained in:
parent
9ab4dc32b4
commit
2a6140ea85
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue