diff options
author | Rob Herring <robh@kernel.org> | 2018-08-27 21:52:28 -0400 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2018-09-29 03:12:38 -0400 |
commit | 94927676c741fe70d5270c92affdbc0cd4753fd3 (patch) | |
tree | 6f0f073ceae841bf5dfea73887fd08ca28ab8c9c | |
parent | e704966c45e48d0220d1ee5e463034ae493a95b2 (diff) |
mailbox: 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.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
-rw-r--r-- | drivers/mailbox/ti-msgmgr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mailbox/ti-msgmgr.c b/drivers/mailbox/ti-msgmgr.c index 5bceafbf6699..713d701b6568 100644 --- a/drivers/mailbox/ti-msgmgr.c +++ b/drivers/mailbox/ti-msgmgr.c | |||
@@ -560,8 +560,8 @@ static struct mbox_chan *ti_msgmgr_of_xlate(struct mbox_controller *mbox, | |||
560 | } | 560 | } |
561 | 561 | ||
562 | err: | 562 | err: |
563 | dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %s\n", | 563 | dev_err(inst->dev, "Queue ID %d, Proxy ID %d is wrong on %pOFn\n", |
564 | req_qid, req_pid, p->np->name); | 564 | req_qid, req_pid, p->np); |
565 | return ERR_PTR(-ENOENT); | 565 | return ERR_PTR(-ENOENT); |
566 | } | 566 | } |
567 | 567 | ||