Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Rob Herring and committed by
Michal Simek
20487a8d 5b394b2d

+1 -1
+1 -1
arch/arm/mach-zynq/slcr.c
··· 233 233 234 234 register_restart_handler(&zynq_slcr_restart_nb); 235 235 236 - pr_info("%s mapped to %p\n", np->name, zynq_slcr_base); 236 + pr_info("%pOFn mapped to %p\n", np, zynq_slcr_base); 237 237 238 238 of_node_put(np); 239 239