powerpc/mpc5xxx: Use of_get_next_parent to simplify code

Michael Ellerman mpe at ellerman.id.au
Thu Oct 15 22:11:00 AEDT 2015


On Sun, 2015-11-10 at 20:27:40 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/b340587e68b479e52039f800

cheers


More information about the Linuxppc-dev mailing list