summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/timer-sp804.c
diff options
context:
space:
mode:
authorRob Herring2018-08-28 03:52:14 +0200
committerDaniel Lezcano2018-10-03 14:36:52 +0200
commit2a4849d2674b965cd9eb7e6c010b7c240fb9d218 (patch)
tree4faea091056a0881cf1c362e9df09251c39c3506 /drivers/clocksource/timer-sp804.c
parenttick/broadcast: Remove redundant check (diff)
downloadkernel-qcow2-linux-2a4849d2674b965cd9eb7e6c010b7c240fb9d218.tar.gz
kernel-qcow2-linux-2a4849d2674b965cd9eb7e6c010b7c240fb9d218.tar.xz
kernel-qcow2-linux-2a4849d2674b965cd9eb7e6c010b7c240fb9d218.zip
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>
Diffstat (limited to 'drivers/clocksource/timer-sp804.c')
-rw-r--r--drivers/clocksource/timer-sp804.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/timer-sp804.c b/drivers/clocksource/timer-sp804.c
index e01222ea888f..052b230ca312 100644
--- a/drivers/clocksource/timer-sp804.c
+++ b/drivers/clocksource/timer-sp804.c
@@ -249,7 +249,7 @@ static int __init sp804_of_init(struct device_node *np)
if (of_clk_get_parent_count(np) == 3) {
clk2 = of_clk_get(np, 1);
if (IS_ERR(clk2)) {
- pr_err("sp804: %s clock not found: %d\n", np->name,
+ pr_err("sp804: %pOFn clock not found: %d\n", np,
(int)PTR_ERR(clk2));
clk2 = NULL;
}