From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752796AbbJOLLE (ORCPT ); Thu, 15 Oct 2015 07:11:04 -0400 Received: from ozlabs.org ([103.22.144.67]:35205 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752355AbbJOLLB (ORCPT ); Thu, 15 Oct 2015 07:11:01 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: b340587e68b479e52039f800d7c60abd417e1975 In-Reply-To: <1444595260-3332-1-git-send-email-christophe.jaillet@wanadoo.fr> To: Christophe Jaillet , benh@kernel.crashing.org, paulus@samba.org From: Michael Ellerman Cc: kernel-janitors@vger.kernel.org, Christophe JAILLET , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: powerpc/mpc5xxx: Use of_get_next_parent to simplify code Message-Id: <20151015111100.87B391402BF@ozlabs.org> Date: Thu, 15 Oct 2015 22:11:00 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 cheers