diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2021-01-16 17:33:36 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-01-19 08:56:27 +0000 |
commit | e795772585b71c38a39a82e7d1ac269fcdc8712f (patch) | |
tree | d70311d81084169cd8f54f38189d3d46b7347a8c | |
parent | 54971943344301d7ffb10701ee91605e8e136ba2 (diff) |
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>
-rw-r--r-- | src/soc/mediatek/mt8173/pmic_wrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |