summaryrefslogtreecommitdiffstats
path: root/drivers/clk/ti/interface.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/ti/interface.c
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadlinux-e665f029a283aff4f36f0c5388f7c708be67470e.tar.gz
linux-e665f029a283aff4f36f0c5388f7c708be67470e.tar.bz2
linux-e665f029a283aff4f36f0c5388f7c708be67470e.zip
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/ti/interface.c')
-rw-r--r--drivers/clk/ti/interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/ti/interface.c b/drivers/clk/ti/interface.c
index 41ae7021670e..87e00c2ee957 100644
--- a/drivers/clk/ti/interface.c
+++ b/drivers/clk/ti/interface.c
@@ -84,7 +84,7 @@ static void __init _of_ti_interface_clk_setup(struct device_node *node,
parent_name = of_clk_get_parent_name(node, 0);
if (!parent_name) {
- pr_err("%s must have a parent\n", node->name);
+ pr_err("%pOFn must have a parent\n", node);
return;
}