Re: powerpc/mpc5xxx: Use of_get_next_parent to simplify code

2015-10-15 Thread Michael Ellerman
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 Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/b340587e68b479e52039f800

Re: powerpc/mpc5xxx: Use of_get_next_parent to simplify code

2015-10-13 Thread Michael Ellerman
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 > --- > arch/powerpc/sysdev/mpc5xxx_clocks.c | 5 + > 1 file changed, 1 insertion(+), 4 d