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:
parent
5497194334
commit
e795772585
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue