summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2021-01-16 17:29:49 +0100
committerPatrick Georgi <pgeorgi@google.com>2021-01-19 08:58:00 +0000
commit52016659a45526bb35780dca4f5b26d10c762662 (patch)
tree03fe5e6574052b645a053883d11e866318f04d46 /src/drivers
parentb45219e720dce03b9815e82023245331b222753f (diff)
drivers/i2c/tpm/cr50.c: Use __func__
Change-Id: If2751f3672072b7fa421ae33dc6e1490fdf35247 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49547 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Christian Walter <christian.walter@9elements.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/i2c/tpm/cr50.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c
index 8c0f8b69ee..8e12d1f044 100644
--- a/src/drivers/i2c/tpm/cr50.c
+++ b/src/drivers/i2c/tpm/cr50.c
@@ -49,7 +49,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 20ms to wait on Cr50!\n");
+ printk(BIOS_WARNING, "WARNING: %s() not implemented, wasting 20ms to wait on"
+ " Cr50!\n", __func__);
warning_displayed = 1;
}
mdelay(CR50_TIMEOUT_NOIRQ_MS);