diff options
author | Paul Menzel <paulepanter@users.sourceforge.net> | 2020-01-14 01:21:06 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-03-02 11:46:29 +0000 |
commit | d778b3bc9098a03cf955918e3e3b33a4e4c5e99f (patch) | |
tree | 0c1668137d8447340f839ab7593ec60f20d0b6e5 /src/drivers/i2c/at24rf08c | |
parent | 2a6140ea85fc23e9d024e557714480bfa9afed21 (diff) |
drivers/i2c/at24rf08c: Format according to coding style
1. Move opening bracket to line above
2. Remove space after `printk` statements
Change-Id: Ia12a4ed6ab2fb2c9848a2688b41fcfa70ab001b0
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38392
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/drivers/i2c/at24rf08c')
-rw-r--r-- | src/drivers/i2c/at24rf08c/at24rf08c.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/drivers/i2c/at24rf08c/at24rf08c.c b/src/drivers/i2c/at24rf08c/at24rf08c.c index daf04a9d1a..11a6fd2b3d 100644 --- a/src/drivers/i2c/at24rf08c/at24rf08c.c +++ b/src/drivers/i2c/at24rf08c/at24rf08c.c @@ -29,10 +29,9 @@ static void at24rf08c_init(struct device *dev) if (dev->path.type != DEVICE_PATH_I2C || dev->path.i2c.device != 0x5c) return; - printk (BIOS_DEBUG, "Locking EEPROM RFID\n"); + printk(BIOS_DEBUG, "Locking EEPROM RFID\n"); - for (i = 0; i < 8; i++) - { + for (i = 0; i < 8; i++) { /* After a register write AT24RF08C sometimes stops responding. Retry several times in case of failure. */ for (j = 0; j < 100; j++) @@ -40,7 +39,7 @@ static void at24rf08c_init(struct device *dev) break; } - printk (BIOS_DEBUG, "init EEPROM done\n"); + printk(BIOS_DEBUG, "init EEPROM done\n"); } static struct device_operations at24rf08c_operations = { |