We already have a pr_fmt, but we aren't making use of this. Change that. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- drivers/ddr/imx8m/ddrphy_utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/ddr/imx8m/ddrphy_utils.c b/drivers/ddr/imx8m/ddrphy_utils.c index 3e03d4b75c9e..98e6ae648aed 100644 --- a/drivers/ddr/imx8m/ddrphy_utils.c +++ b/drivers/ddr/imx8m/ddrphy_utils.c @@ -210,7 +210,7 @@ static void dram_enable_bypass(enum ddr_rate drate) const struct imx8m_bypass_config *config = &imx8m_bypass_table[drate]; if (!config->valid) { - printf("No matched freq table entry %u\n", drate); + pr_warn("No matched freq table entry %u\n", drate); return; } @@ -239,7 +239,7 @@ static int dram_frac_pll_init(enum ddr_rate drate) const struct imx8mm_fracpll_config *config = &imx8mm_fracpll_table[drate]; if (!config->valid) { - printf("No matched freq table entry %u\n", drate); + pr_warn("No matched freq table entry %u\n", drate); return -EINVAL; } @@ -284,7 +284,7 @@ static int dram_sscg_pll_init(enum ddr_rate drate) const struct imx8mq_ssgcpll_config *config = &imx8mq_ssgcpll_table[drate]; if (!config->valid) { - printf("No matched freq table entry %u\n", drate); + pr_warn("No matched freq table entry %u\n", drate); return -EINVAL; } -- 2.30.2