clocksource: 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: Daniel Lezcano <daniel.lezcano@linaro.org> Cc: Thomas Gleixner <tglx@linutronix.de> 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: Daniel Lezcano <daniel.lezcano@linaro.org>
This commit is contained in:

committed by
Daniel Lezcano

parent
dc6253108f
commit
2a4849d267
@@ -193,7 +193,7 @@ static int __init asm9260_timer_init(struct device_node *np)
|
||||
|
||||
priv.base = of_io_request_and_map(np, 0, np->name);
|
||||
if (IS_ERR(priv.base)) {
|
||||
pr_err("%s: unable to map resource\n", np->name);
|
||||
pr_err("%pOFn: unable to map resource\n", np);
|
||||
return PTR_ERR(priv.base);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user