[PATCH 3/4] cpuidle: riscv-sbi: Simplify with scoped for each OF child loop
Jonathan Cameron
Jonathan.Cameron at Huawei.com
Mon Aug 19 09:24:48 PDT 2024
On Fri, 16 Aug 2024 17:09:30 +0200
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org> wrote:
> Use scoped for_each_child_of_node_scoped() when iterating over device
> nodes to make code a bit simpler.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>
I don't much like the no_pd: label that does nothing useful, but
unrelated to this.
Reviewed-by: Jonathan Cameron <Jonathan.Cameron at huawei.com>
More information about the linux-riscv
mailing list