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

Andrew Jeffery andrew at codeconstruct.com.au
Fri Aug 23 14:03:18 AEST 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-aspeed mailing list