powerpc: Use device_type helpers to access the node type

Michael Ellerman patch-notifications at ellerman.id.au
Sat Dec 8 00:07:06 AEDT 2018


On Fri, 2018-11-16 at 22:11:00 UTC, Rob Herring wrote:
> Remove directly accessing device_node.type pointer and use the accessors
> instead. This will eventually allow removing the type pointer.
> 
> Replace the open coded iterating over child nodes with
> for_each_child_of_node() while we're here.
> 
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> 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/e5480bdcc4429e4c172d450ee1db19

cheers


More information about the Linuxppc-dev mailing list