[PATCH -next 2/8] hwmon: (aspeed-pwm-tacho): Simplify with scoped for each OF child loop

Andrew Jeffery andrew at codeconstruct.com.au
Thu Aug 22 21:03:18 PDT 2024


On Thu, 2024-08-22 at 14:29 +0800, Jinjie Ruan wrote:
> Use scoped for_each_child_of_node_scoped() when iterating over device
> nodes to make code a bit simpler.
> 
> Signed-off-by: Jinjie Ruan <ruanjinjie at huawei.com>

Reviewed-by: Andrew Jeffery <andrew at codeconstruct.com.au>



More information about the linux-arm-kernel mailing list