powerpc: Use of_node_name_eq for node name comparisons

Michael Ellerman patch-notifications at ellerman.id.au
Mon Dec 24 00:27:58 AEDT 2018


On Wed, 2018-12-05 at 19:50:18 UTC, Rob Herring wrote:
> 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.
> 
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Alistair Popple <alistair at popple.id.au>
> Cc: Matt Porter <mporter at kernel.crashing.org>
> Cc: Anatolij Gustschin <agust at denx.de>
> Cc: Arnd Bergmann <arnd at arndb.de>
> Cc: linuxppc-dev at lists.ozlabs.org
> Signed-off-by: Rob Herring <robh at kernel.org>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/2c8e65b595cf0bf7c1413404dff9b9

cheers


More information about the Linuxppc-dev mailing list