From e795772585b71c38a39a82e7d1ac269fcdc8712f Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sat, 16 Jan 2021 17:33:36 +0100 Subject: [PATCH] soc/mediatek/mt8173/pmic_wrap.c: Use __func__ Change-Id: I3fb4db3fbb72d1444c84b9b66193c26a07561a3f Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/c/coreboot/+/49565 Tested-by: build bot (Jenkins) Reviewed-by: Hung-Te Lin --- src/soc/mediatek/mt8173/pmic_wrap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/mediatek/mt8173/pmic_wrap.c b/src/soc/mediatek/mt8173/pmic_wrap.c index ba99a13211..caa15ea182 100644 --- a/src/soc/mediatek/mt8173/pmic_wrap.c +++ b/src/soc/mediatek/mt8173/pmic_wrap.c @@ -120,7 +120,7 @@ static s32 pwrap_init_reg_clock(enum pmic_regck regck_sel) pwrap_write_nochk(PMIC_TOP_CKCON2, wdata); pwrap_read_nochk(PMIC_TOP_CKCON2, &rdata); if (rdata != wdata) { - pwrap_err("pwrap_init_reg_clock,rdata=%#x\n", rdata); + pwrap_err("%s,rdata=%#x\n", __func__, rdata); return E_PWR_INIT_REG_CLOCK; } /* Config SPI Waveform according to reg clk */