summaryrefslogtreecommitdiffstats
path: root/src/drivers/pc80
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-06-18 15:20:37 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-06-21 09:24:42 +0000
commit08e8cab57841cd1e2cc47bb9899b16a531e1a1f5 (patch)
tree0b3da67c24d9db58890b6cf644ea435901aa8073 /src/drivers/pc80
parentfe1d80cb08213a302a80714114ea3b9e632411ff (diff)
downloadcoreboot-08e8cab57841cd1e2cc47bb9899b16a531e1a1f5.tar.gz
coreboot-08e8cab57841cd1e2cc47bb9899b16a531e1a1f5.tar.bz2
coreboot-08e8cab57841cd1e2cc47bb9899b16a531e1a1f5.zip
src: Substitute `__FUNCTION__` with `__func__`
The former is not standard C, and we primarily use the latter form. Change-Id: Ia7091b494ff72588fb6910710fd72165693c1ac5 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42516 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Christian Walter <christian.walter@9elements.com>
Diffstat (limited to 'src/drivers/pc80')
-rw-r--r--src/drivers/pc80/tpm/tis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/pc80/tpm/tis.c b/src/drivers/pc80/tpm/tis.c
index 185df34dc405..e18f9aff0ec0 100644
--- a/src/drivers/pc80/tpm/tis.c
+++ b/src/drivers/pc80/tpm/tis.c
@@ -395,7 +395,7 @@ static u32 tis_probe(void)
didvid = tpm_read_did_vid(0);
if (!didvid || (didvid == 0xffffffff)) {
- printf("%s: No TPM device found\n", __FUNCTION__);
+ printf("%s: No TPM device found\n", __func__);
return TPM_DRIVER_ERR;
}