summaryrefslogtreecommitdiff
path: root/drivers/clk/renesas/clk-r8a73a4.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-28 10:44:29 -0500
committerStephen Boyd <sboyd@kernel.org>2018-08-30 09:50:20 -0700
commite665f029a283aff4f36f0c5388f7c708be67470e (patch)
tree5f3704948d96ea6eeab0c36d50167d9b8cefd418 /drivers/clk/renesas/clk-r8a73a4.c
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
clk: Convert to using %pOFn instead of device_node.name
In preparation to remove the node name pointer from struct device_node, convert printf users to use the %pOFn format specifier. Cc: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> Cc: Michael Turquette <mturquette@baylibre.com> Cc: Stephen Boyd <sboyd@kernel.org> Cc: linux-clk@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-renesas-soc@vger.kernel.org Cc: linux-omap@vger.kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/renesas/clk-r8a73a4.c')
-rw-r--r--drivers/clk/renesas/clk-r8a73a4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/renesas/clk-r8a73a4.c b/drivers/clk/renesas/clk-r8a73a4.c
index 7b903ce4c901..48e9f1e816ad 100644
--- a/drivers/clk/renesas/clk-r8a73a4.c
+++ b/drivers/clk/renesas/clk-r8a73a4.c
@@ -228,8 +228,8 @@ static void __init r8a73a4_cpg_clocks_init(struct device_node *np)
clk = r8a73a4_cpg_register_clock(np, cpg, name);
if (IS_ERR(clk))
- pr_err("%s: failed to register %s %s clock (%ld)\n",
- __func__, np->name, name, PTR_ERR(clk));
+ pr_err("%s: failed to register %pOFn %s clock (%ld)\n",
+ __func__, np, name, PTR_ERR(clk));
else
cpg->data.clks[i] = clk;
}