powerpc/numa: Use of_get_next_parent to simplify code

Michael Ellerman mpe at ellerman.id.au
Thu Oct 15 22:10:59 AEDT 2015


On Sun, 2015-11-10 at 20:23:27 UTC, Christophe Jaillet wrote:
> of_get_next_parent can be used to simplify the while() loop and
> avoid the need of a temp variable.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet at wanadoo.fr>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/1def37586fb1f3bbbedeaa64

cheers


More information about the Linuxppc-dev mailing list