Skip to content

Commit

Permalink
dmaengine: Convert to using %pOFn instead of device_node.name
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rob Herring authored and Vinod Koul committed Aug 28, 2018
1 parent 5b394b2 commit 5ab6490
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/dma/nbpfaxi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1095,8 +1095,8 @@ static struct dma_chan *nbpf_of_xlate(struct of_phandle_args *dma_spec,
if (!dchan)
return NULL;

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

chan = nbpf_to_chan(dchan);

Expand Down

0 comments on commit 5ab6490

Please sign in to comment.