soc/mediatek/mt8173/pmic_wrap.c: Use __func__

Change-Id: I3fb4db3fbb72d1444c84b9b66193c26a07561a3f
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/49565
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
This commit is contained in:
Elyes HAOUAS 2021-01-16 17:33:36 +01:00 committed by Patrick Georgi
parent 5497194334
commit e795772585
1 changed files with 1 additions and 1 deletions

View File

@ -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 */