From be585d2ece60e04683a0e8377b3fdad5ac3e37cb Mon Sep 17 00:00:00 2001 From: Jan Samek Date: Thu, 17 Nov 2022 12:22:40 +0100 Subject: [PATCH] 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 Reviewed-on: https://review.coreboot.org/c/coreboot/+/69718 Reviewed-by: Werner Zeh Tested-by: build bot (Jenkins) Reviewed-by: Mario Scheithauer --- src/drivers/i2c/rx6110sa/rx6110sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/i2c/rx6110sa/rx6110sa.c b/src/drivers/i2c/rx6110sa/rx6110sa.c index d30963cab6..02b3d9f91b 100644 --- a/src/drivers/i2c/rx6110sa/rx6110sa.c +++ b/src/drivers/i2c/rx6110sa/rx6110sa.c @@ -183,7 +183,7 @@ static void rx6110sa_fill_ssdt(const struct device *dev) 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; }