diff options
author | Rob Herring <robh@kernel.org> | 2018-08-28 03:52:14 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2018-10-03 14:36:52 +0200 |
commit | 2a4849d2674b965cd9eb7e6c010b7c240fb9d218 (patch) | |
tree | 4faea091056a0881cf1c362e9df09251c39c3506 /drivers/clocksource/asm9260_timer.c | |
parent | tick/broadcast: Remove redundant check (diff) | |
download | linux-2a4849d2674b965cd9eb7e6c010b7c240fb9d218.tar.xz 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/asm9260_timer.c')
-rw-r--r-- | drivers/clocksource/asm9260_timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/asm9260_timer.c b/drivers/clocksource/asm9260_timer.c index 38cd2feb87c4..fbaee04fd1d9 100644 --- a/drivers/clocksource/asm9260_timer.c +++ b/drivers/clocksource/asm9260_timer.c @@ -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); } |