mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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>
This commit is contained in:
parent
5b394b2ddf
commit
20487a8ddf
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ int __init zynq_early_slcr_init(void)
|
||||||
|
|
||||||
register_restart_handler(&zynq_slcr_restart_nb);
|
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);
|
of_node_put(np);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue