diff options
author | Jan Samek <jan.samek@siemens.com> | 2022-11-17 12:22:40 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-11-18 16:05:03 +0000 |
commit | be585d2ece60e04683a0e8377b3fdad5ac3e37cb (patch) | |
tree | bbd007edffa52882d29a976e051409ebf74e5671 | |
parent | 6f8fd5d39733668dbf4254970c0042c32c2df6f2 (diff) |
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>
-rw-r--r-- | src/drivers/i2c/rx6110sa/rx6110sa.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |