diff options
author | Petr Mladek <pmladek@suse.com> | 2018-06-05 13:39:12 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2018-06-05 13:39:12 +0200 |
commit | 8bafa2a44ff3647904eaa3c9228bfbd36742b9b4 (patch) | |
tree | c0bc2ef9e965e50e57aaa22293084ee308b41d3f /drivers/clk | |
parent | bcf8677bc621e0e3b6ed67668d6bd72908fdec2c (diff) | |
parent | 666902e42fd8344b923c02dc5b0f37948ff4f225 (diff) | |
download | linux-8bafa2a44ff3647904eaa3c9228bfbd36742b9b4.tar.bz2 |
Merge branch 'for-4.18-vsprintf-pcr-removal' into for-4.18
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/renesas/renesas-cpg-mssr.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/clk/renesas/renesas-cpg-mssr.c b/drivers/clk/renesas/renesas-cpg-mssr.c index e3cc72c81311..2c9988fef656 100644 --- a/drivers/clk/renesas/renesas-cpg-mssr.c +++ b/drivers/clk/renesas/renesas-cpg-mssr.c @@ -258,8 +258,9 @@ struct clk *cpg_mssr_clk_src_twocell_get(struct of_phandle_args *clkspec, dev_err(dev, "Cannot get %s clock %u: %ld", type, clkidx, PTR_ERR(clk)); else - dev_dbg(dev, "clock (%u, %u) is %pC at %pCr Hz\n", - clkspec->args[0], clkspec->args[1], clk, clk); + dev_dbg(dev, "clock (%u, %u) is %pC at %lu Hz\n", + clkspec->args[0], clkspec->args[1], clk, + clk_get_rate(clk)); return clk; } @@ -326,7 +327,7 @@ static void __init cpg_mssr_register_core_clk(const struct cpg_core_clk *core, if (IS_ERR_OR_NULL(clk)) goto fail; - dev_dbg(dev, "Core clock %pC at %pCr Hz\n", clk, clk); + dev_dbg(dev, "Core clock %pC at %lu Hz\n", clk, clk_get_rate(clk)); priv->clks[id] = clk; return; @@ -392,7 +393,7 @@ static void __init cpg_mssr_register_mod_clk(const struct mssr_mod_clk *mod, if (IS_ERR(clk)) goto fail; - dev_dbg(dev, "Module clock %pC at %pCr Hz\n", clk, clk); + dev_dbg(dev, "Module clock %pC at %lu Hz\n", clk, clk_get_rate(clk)); priv->clks[id] = clk; priv->smstpcr_saved[clock->index / 32].mask |= BIT(clock->index % 32); return; |