From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 F024813B2A8; Mon, 5 Aug 2024 16:00:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722873635; cv=none; b=VKL18X1LBTeQ661cc4WxFVZJ0Z4Hk+KnvTQBljodz69gh9XFtUQ5aTCcYPH1Al3aXDlLSY3t6/A/9/B//BcFjpZWx5c6ypbqgT1DxFxUDIx9vRJ9BossnDpbivlSN06bizciR2ya5KoJvpNEJiB1AtjsPe4jaAKCZo0WgW6pPd4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722873635; c=relaxed/simple; bh=ahSZrYTp7z3n6Jnf15MfP3NL9/KYAULDq4lAhW8oJUY=; h=From:To:Cc:In-Reply-To:References:Subject:Message-Id:Date: MIME-Version:Content-Type; b=QqcxybO6tyDz9gjPGRRjq9/B95p+jO38uE8Xb7i+0xbYW3eiz6GLqmW9plDp4D6kbtDS/51oV2404KsmzMe6FmEpoZThBuI/jtKPA0hAzvcPdg5C0YWR24E7ukD4iEeBdDXyIW8zuQF1EZVbaUOCngxGLse6Ntaly7Yeqz7MtyA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=g8pjC8J4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="g8pjC8J4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D397BC4AF0C; Mon, 5 Aug 2024 16:00:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1722873634; bh=ahSZrYTp7z3n6Jnf15MfP3NL9/KYAULDq4lAhW8oJUY=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=g8pjC8J4eVVPt38Z+WshcUlUDfyHB608zCQiyvwt82QBAz3KcAgKMrCdUhajlaeQL 6EzxGViT+NMrHzBtd0jeTVBIzw9c03l9/8JPReUGCt4yqutFDr0q8a4Xl+enTUbm3B nRz48VJWjQwM2vqY5bCKHbybCI49/bkuACkqM/wwQsrZdZHbqZ86T9acGiDCcLslAP J8rwAPk1/iUyEA72h9xpUA1iG+qwoT8w+yrJWGT4CqhdMYXbsvbvuqScAWQ7hmgvmA JLDZQX7wTFRxNRHrL6/A32EctPQyWePGR/PZwzEj6XeUXRuUOArD19NDTKkMKaFIMG py75SON754QFQ== From: Lee Jones To: Greg Kroah-Hartman , "Rafael J. Wysocki" , Andy Shevchenko , Jonathan Cameron , Rob Herring , Daniel Scally , Heikki Krogerus , Sakari Ailus , Jean Delvare , Guenter Roeck , Pavel Machek , Lee Jones , Marcin Wojtas , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andreas Kemnade , Javier Carrasco Cc: linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hwmon@vger.kernel.org, linux-leds@vger.kernel.org, netdev@vger.kernel.org, Jonathan Cameron In-Reply-To: <20240805-device_for_each_child_node-available-v3-2-48243a4aa5c0@gmail.com> References: <20240805-device_for_each_child_node-available-v3-0-48243a4aa5c0@gmail.com> <20240805-device_for_each_child_node-available-v3-2-48243a4aa5c0@gmail.com> Subject: Re: (subset) [PATCH v3 2/4] leds: pca995x: use device_for_each_child_node() to access device child nodes Message-Id: <172287362960.2885491.3573302906275384293.b4-ty@kernel.org> Date: Mon, 05 Aug 2024 17:00:29 +0100 Precedence: bulk X-Mailing-List: linux-hwmon@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailer: b4 0.13.0 On Mon, 05 Aug 2024 16:49:45 +0200, Javier Carrasco wrote: > The iterated nodes are direct children of the device node, and the > `device_for_each_child_node()` macro accounts for child node > availability. > > `fwnode_for_each_available_child_node()` is meant to access the child > nodes of an fwnode, and therefore not direct child nodes of the device > node. > > [...] Applied, thanks! [2/4] leds: pca995x: use device_for_each_child_node() to access device child nodes commit: 6eefd65ba6ae29ab801f6461e59c10f93dd496f8 -- Lee Jones [李琼斯]