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 D9FDB194137; Thu, 29 Aug 2024 12:55:02 +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=1724936104; cv=none; b=Q7MMrQjQdk8vysM7U+AIaSzOdE0DsEhaJwSfa8hko5DfKsR9hARsubRN48i4z2wVYt2+WpD6iF99hBRqOW0F3XjRBMn53iFg/NxQHQK6vT+RJ/zYZU2j9r9TLUSu4TxY1+LA/GvRXKNn1n+yQ8n+PhXkbX3U4zq7AUZlqjzGu1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724936104; c=relaxed/simple; bh=6JhyjjIbi6SvyJMTG+JGIpm+zvenVBjTmmPyQgEm1nA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=AeItiRBfSraJ2xokyfhHEq7KpGxPFlLO9QQ91uQZh6nk/K4wcHp8gQ6ZB0c9fZYTwkMfhoO8agAtyoT+ccbyIW2jGoYP3V9uk4RNf4p0WQ6k4hBrQhcGFm4S6/1TO/EhAmewmrGsE+TQQk+HYU8hg4Kf/F6VkhRIItOK8ziHf1I= 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=opcztYyl; 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="opcztYyl" 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=iB1iyiRufyi+kW7QDYC0sq4UzWlqrBQg1iH4s+49d2E=; b=opcztYylGQsgkTEse+1EgihcrY 3Ko2q9P1hHV4l0DtjnNOLmmGzaCtDgd02erHedMEMnR53wk++9qxy1xP5WUkejgoBtxaI9+fS0Nzj nSy84zM51N1tZ2TKTMzfCDnfbrzHbcbGgReRvA2+uVe2hEiy3ZCjBSPKHg2MW9fCg+Lw=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sjefn-0062DV-Oy; Thu, 29 Aug 2024 14:54:47 +0200 Date: Thu, 29 Aug 2024 14:54:47 +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 12/13] net: bcmasp: Simplify with scoped for each OF child loop Message-ID: References: <20240829063118.67453-1-ruanjinjie@huawei.com> <20240829063118.67453-13-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-13-ruanjinjie@huawei.com> On Thu, Aug 29, 2024 at 02:31:17PM +0800, Jinjie Ruan wrote: > Use scoped for_each_available_child_of_node_scoped() when > iterating over device nodes to make code a bit simpler. > > Signed-off-by: Jinjie Ruan > Reviewed-by: Jonathan Cameron Reviewed-by: Andrew Lunn Andrew