Re: [PATCH v2 01/11] of: Add for_each_compatible_node_scoped() helper
From: Krzysztof Kozlowski
Date: Tue Jan 06 2026 - 06:26:14 EST
On 06/01/2026 11:37, Jonathan Cameron wrote:
> On Tue, 06 Jan 2026 10:15:11 +0100
> Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx> wrote:
>
>> Just like looping through children and available children, add a scoped
>> helper for for_each_compatible_node() so error paths can drop
>> of_node_put() leading to simpler code.
>>
>> Suggested-by: Jonathan Cameron <jonathan.cameron@xxxxxxxxxx>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxxxxxxxx>
> Oops. Reviews on v1 as I didn't check for a v2. Sorry about that.
Yeah, I saw them. I'll go through them anyway, so probably there will be
v3 or I will just respin with added tags.
Best regards,
Krzysztof