Skip to content

Commit 5ab6490

Browse files
robherringvinodkoul
authored andcommitted
dmaengine: 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: Vinod Koul <vkoul@kernel.org>
1 parent 5b394b2 commit 5ab6490

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/dma/nbpfaxi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,8 +1095,8 @@ static struct dma_chan *nbpf_of_xlate(struct of_phandle_args *dma_spec,
10951095
if (!dchan)
10961096
return NULL;
10971097

1098-
dev_dbg(dchan->device->dev, "Entry %s(%s)\n", __func__,
1099-
dma_spec->np->name);
1098+
dev_dbg(dchan->device->dev, "Entry %s(%pOFn)\n", __func__,
1099+
dma_spec->np);
11001100

11011101
chan = nbpf_to_chan(dchan);
11021102

0 commit comments

Comments
 (0)