Re: [PATCH 2/2] hwmon: (gsc-hwmon) use device_for_each_child_node_scoped()
From: Guenter Roeck
Date: Fri Jun 07 2024 - 18:09:36 EST
On Thu, Apr 04, 2024 at 01:13:28PM +0200, Javier Carrasco wrote:
> Switch to the _scoped() version introduced in commit 365130fd47af
> ("device property: Introduce device_for_each_child_node_scoped()")
> to remove the need for manual calling of fwnode_handle_put() in the
> paths where the code exits the loop early.
>
> Signed-off-by: Javier Carrasco <javier.carrasco.cruz@xxxxxxxxx>
Applied.
Guenter