From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 48F22193097; Thu, 29 Aug 2024 12:51:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724935912; cv=none; b=iA7yJbzJ8kOa2BXPytfPGY6sY8ZO1s9EYUaIlTm80imH/PMlYbEPmW6pPUJ+BO5kaj2MuY08u0f1dTY+BRczDQVw1wHun201vjNS4xAWvYGFabye5g14yk9IL02A/CzqZfGLm+k7ZJGdEFjX0a59dOELI20eewuhb3mvVWiTo3E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724935912; c=relaxed/simple; bh=GhpN/R4gCpcwYtidzboXinclXrrA0SmBxCYUabd38Fs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MnFs4n9VINzkW7uLpqU6N8S3NaguskxXwyudAxfpVfnamUSiR8uLgdlayqqV/ygXhstX5P7XP7bd1IZvUlr2X595N6bN4vYniOj/RzwaretSNeadovNEh9tY2MCnKMmQcy0iokw+76R3cvbCHSiOZ19TbHw3B4CzXUX+bCUwQZo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=5KYXAKYj; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="5KYXAKYj" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=1FOHatKHJDYnx9Zbzrc3gBtDOUk0TbRXoWnia8Plhnk=; b=5KYXAKYj3hcYL6YFcN9KGOinx1 77ukb41VLARahh91gCfUw2CJR6u2HtQ+I1oZccXRWBb2TnDhW9FKQZL0Bz6STJ1Ngonp1fRfFpUiy gAd/GGAgivrc+iEQphwm/873nu4WUlETOiUYrHecMEgBoV4GMRZWLQgxvZlijm0tKE+0=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sjecg-00628x-Kh; Thu, 29 Aug 2024 14:51:34 +0200 Date: Thu, 29 Aug 2024 14:51:34 +0200 From: Andrew Lunn To: Jinjie Ruan Cc: woojung.huh@microchip.com, f.fainelli@gmail.com, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, linus.walleij@linaro.org, alsi@bang-olufsen.dk, justin.chen@broadcom.com, sebastian.hesselbarth@gmail.com, alexandre.torgue@foss.st.com, joabreu@synopsys.com, wens@csie.org, jernej.skrabec@gmail.com, samuel@sholland.org, mcoquelin.stm32@gmail.com, hkallweit1@gmail.com, linux@armlinux.org.uk, ansuelsmth@gmail.com, UNGLinuxDriver@microchip.com, netdev@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, krzk@kernel.org, jic23@kernel.org Subject: Re: [PATCH net-next v3 07/13] net: mdio: mux-mmioreg: Simplified with scoped function Message-ID: <9bc52dad-e4c2-4c06-8571-5125622f1a37@lunn.ch> References: <20240829063118.67453-1-ruanjinjie@huawei.com> <20240829063118.67453-8-ruanjinjie@huawei.com> Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240829063118.67453-8-ruanjinjie@huawei.com> On Thu, Aug 29, 2024 at 02:31:12PM +0800, Jinjie Ruan wrote: > Avoids the need for manual cleanup of_node_put() in early exits > from the loop by using for_each_available_child_of_node_scoped(). > > Signed-off-by: Jinjie Ruan > Reviewed-by: Jonathan Cameron Reviewed-by: Andrew Lunn Andrew