summaryrefslogtreecommitdiff
path: root/drivers/clocksource/cadence_ttc_timer.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-08-28 04:52:14 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2018-10-03 15:36:52 +0300
commit2a4849d2674b965cd9eb7e6c010b7c240fb9d218 (patch)
tree4faea091056a0881cf1c362e9df09251c39c3506 /drivers/clocksource/cadence_ttc_timer.c
parentdc6253108f0fbff4a634055d5b8a91958ec2af81 (diff)
downloadlinux-2a4849d2674b965cd9eb7e6c010b7c240fb9d218.tar.xz
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/cadence_ttc_timer.c')
-rw-r--r--drivers/clocksource/cadence_ttc_timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/cadence_ttc_timer.c b/drivers/clocksource/cadence_ttc_timer.c
index 29d51755e18b..b33402980b6f 100644
--- a/drivers/clocksource/cadence_ttc_timer.c
+++ b/drivers/clocksource/cadence_ttc_timer.c
@@ -535,7 +535,7 @@ static int __init ttc_timer_init(struct device_node *timer)
if (ret)
return ret;
- pr_info("%s #0 at %p, irq=%d\n", timer->name, timer_baseaddr, irq);
+ pr_info("%pOFn #0 at %p, irq=%d\n", timer, timer_baseaddr, irq);
return 0;
}