drivers/spi/tpm/tpm.c: Use __func__

Change-Id: I8a8b0575689d7b63fd37edc457abc42710a13e97
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49552
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
This commit is contained in:
Elyes HAOUAS 2021-01-16 17:30:42 +01:00 committed by Patrick Georgi
parent b600d41c3f
commit 103c1205e7
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ __weak int tis_plat_irq_status(void)
static int warning_displayed;
if (!warning_displayed) {
printk(BIOS_WARNING, "WARNING: tis_plat_irq_status() not implemented, wasting 10ms to wait on Cr50!\n");
printk(BIOS_WARNING, "WARNING: %s() not implemented, wasting 10ms to wait on"
" Cr50!\n", __func__);
warning_displayed = 1;
}
mdelay(10);