2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 04:03:58 +08:00

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>
This commit is contained in:
Rob Herring 2018-08-27 20:52:17 -05:00 committed by Vinod Koul
parent 5b394b2ddf
commit 5ab64902b5

View File

@ -1095,8 +1095,8 @@ static struct dma_chan *nbpf_of_xlate(struct of_phandle_args *dma_spec,
if (!dchan) if (!dchan)
return NULL; return NULL;
dev_dbg(dchan->device->dev, "Entry %s(%s)\n", __func__, dev_dbg(dchan->device->dev, "Entry %s(%pOFn)\n", __func__,
dma_spec->np->name); dma_spec->np);
chan = nbpf_to_chan(dchan); chan = nbpf_to_chan(dchan);