On 01/11/2026 23:21, Ekansh Gupta wrote:
> +
> +static int qda_count_cb_nodes(struct device_node *parent_node)
> +{
> +     int count = 0;
> +
> +     for_each_available_child_of_node_scoped(parent_node, child)

I don't see a need for scoped loop.

> +             if (of_device_is_compatible(child, "qcom,fastrpc-compute-cb"))
> +                     count++;
> +
> +     return count;
>  }



Best regards,
Krzysztof

Reply via email to