summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-27 20:52:04 -0500
committerMichal Simek <michal.simek@xilinx.com>2018-09-05 15:27:16 +0200
commit20487a8ddf207dde042a4463e3f82ab17c17cf13 (patch)
tree9366be6d168c5ee55bb0edba7355f10c3cc2f4aa
parent5b394b2ddf0347bef56e50c69a58773c94343ff3 (diff)
downloadtalos-obmc-linux-20487a8ddf207dde042a4463e3f82ab17c17cf13.tar.gz
talos-obmc-linux-20487a8ddf207dde042a4463e3f82ab17c17cf13.zip
ARM: zynq: 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: Michal Simek <michal.simek@xilinx.com> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
-rw-r--r--arch/arm/mach-zynq/slcr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/slcr.c b/arch/arm/mach-zynq/slcr.c
index f0292a30e6f6..10ef99ce1d90 100644
--- a/arch/arm/mach-zynq/slcr.c
+++ b/arch/arm/mach-zynq/slcr.c
@@ -233,7 +233,7 @@ int __init zynq_early_slcr_init(void)
register_restart_handler(&zynq_slcr_restart_nb);
- pr_info("%s mapped to %p\n", np->name, zynq_slcr_base);
+ pr_info("%pOFn mapped to %p\n", np, zynq_slcr_base);
of_node_put(np);
OpenPOWER on IntegriCloud