Felix Held has submitted this change. ( https://review.coreboot.org/c/coreboot/+/69718 )
Change subject: drivers/i2c/rx6110sa/rx6110sa.c: Make log messages consistent ......................................................................
drivers/i2c/rx6110sa/rx6110sa.c: Make log messages consistent
Set the logging message prefix to the device name instead of the device path in order to make the output consistent with other logging messages in this and other drivers.
Change-Id: Ib63b93d52aad220d17f1f4ee0d47a949933ec26d Signed-off-by: Jan Samek jan.samek@siemens.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/69718 Reviewed-by: Werner Zeh werner.zeh@siemens.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Mario Scheithauer mario.scheithauer@siemens.com --- M src/drivers/i2c/rx6110sa/rx6110sa.c 1 file changed, 19 insertions(+), 1 deletion(-)
Approvals: build bot (Jenkins): Verified Werner Zeh: Looks good to me, approved Mario Scheithauer: Looks good to me, but someone else must approve
diff --git a/src/drivers/i2c/rx6110sa/rx6110sa.c b/src/drivers/i2c/rx6110sa/rx6110sa.c index d30963c..02b3d9f 100644 --- a/src/drivers/i2c/rx6110sa/rx6110sa.c +++ b/src/drivers/i2c/rx6110sa/rx6110sa.c @@ -183,7 +183,7 @@ break; default: printk(BIOS_INFO, "%s: Bus speed unsupported, fall back to %d kHz!\n", - dev_path(dev), I2C_SPEED_STANDARD / 1000); + dev->chip_ops->name, I2C_SPEED_STANDARD / 1000); bus_speed = I2C_SPEED_STANDARD; break; }