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>
This commit is contained in:
Jan Samek 2022-11-17 12:22:40 +01:00 committed by Felix Held
parent 6f8fd5d397
commit be585d2ece
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ static void rx6110sa_fill_ssdt(const struct device *dev)
break; break;
default: default:
printk(BIOS_INFO, "%s: Bus speed unsupported, fall back to %d kHz!\n", 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; bus_speed = I2C_SPEED_STANDARD;
break; break;
} }