dmaengine: Convert to using %pOFn instead of device_node.name
authorRob Herring <robh@kernel.org>
Tue, 28 Aug 2018 01:52:17 +0000 (20:52 -0500)
committerVinod Koul <vkoul@kernel.org>
Tue, 28 Aug 2018 05:15:40 +0000 (10:45 +0530)
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>
drivers/dma/nbpfaxi.c

index 8c7b2e8703dabd06bbef253c3f9d2ef6f7c085cb..8d4914cd06f0d9d0c4652896f647cee2d0ce399f 100644 (file)
@@ -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);