summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2018-12-05 20:50:18 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2018-12-22 11:29:50 +0100
commit2c8e65b595cf0bf7c1413404dff9b928a64d27cb (patch)
tree88944063653016523cd63a065876c507ab1651c0 /drivers
parentpowerpc/pseries/pmem: Convert to %pOFn instead of device_node.name (diff)
downloadlinux-2c8e65b595cf0bf7c1413404dff9b928a64d27cb.tar.xz
linux-2c8e65b595cf0bf7c1413404dff9b928a64d27cb.zip
powerpc: Use of_node_name_eq for node name comparisons
Convert string compares of DT node names to use of_node_name_eq helper instead. This removes direct access to the node name pointer. A couple of open coded iterating thru the child node names are converted to use for_each_child_of_node() instead. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions