powerpc/mpc5xxx: Use of_get_next_parent to simplify code
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sun, 11 Oct 2015 20:27:40 +0000 (22:27 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 15 Oct 2015 09:32:01 +0000 (20:32 +1100)
commitb340587e68b479e52039f800d7c60abd417e1975
tree68d481a8fed7f94cae6ca442ab8b97536f5b037c
parent1def37586fb1f3bbbedeaa64bf047595958dfc66
powerpc/mpc5xxx: Use of_get_next_parent to simplify code

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@wanadoo.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/sysdev/mpc5xxx_clocks.c