diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-01-16 17:30:42 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-19 08:58:41 +0000 |
commit | 103c1205e793fb2f2ec5514dd4088668b437cf0d (patch) | |
tree | 0475a8a9ce6317f5ef36dc0aec85389143520ca2 /src | |
parent | b600d41c3fead3e47ae41cc594bb1ae7f10e45e0 (diff) |
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>
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/spi/tpm/tpm.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/spi/tpm/tpm.c b/src/drivers/spi/tpm/tpm.c index d65decda12..1ad1eaac48 100644 --- a/src/drivers/spi/tpm/tpm.c +++ b/src/drivers/spi/tpm/tpm.c @@ -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); |