powerpc: Rework btext_find_display to use of_stdout and device_type helpers

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


On Fri, 2018-11-16 at 22:10:59 UTC, Rob Herring wrote:
> Remove directly accessing device_node.type pointer and use the accessors
> instead. This will eventually allow removing the type pointer.
> 
> In the process, the of_stdout pointer can be used instead of finding the
> stdout node again.
> 
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> 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/5b8d6be7b8dd286bd654e37d637ded

cheers


More information about the Linuxppc-dev mailing list