summaryrefslogtreecommitdiff
path: root/src/drivers/spi
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/spi')
-rw-r--r--src/drivers/spi/tpm/tis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/tpm/tis.c b/src/drivers/spi/tpm/tis.c
index 2554cf717c..6465b40a0a 100644
--- a/src/drivers/spi/tpm/tis.c
+++ b/src/drivers/spi/tpm/tis.c
@@ -31,7 +31,7 @@ static const char *tis_get_dev_name(struct tpm2_info *info)
int tis_open(void)
{
if (tpm_is_open) {
- printk(BIOS_ERR, "tis_open() called twice.\n");
+ printk(BIOS_ERR, "%s() called twice.\n", __func__);
return -1;
}
return 0;