[PATCH -next 0/8] hwmon: Simplify with scoped for each OF child
Guenter Roeck
linux at roeck-us.net
Tue Aug 27 14:01:01 AEST 2024
On 8/21/24 23:29, Jinjie Ruan wrote:
> Use scoped for_each_child_of_node_scoped() when iterating over device
> nodes to make code a bit simpler.
>
> Jinjie Ruan (8):
> hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child
> loop
> hwmon: (aspeed-pwm-tacho): Simplify with scoped for each OF child loop
> hwmon: (ina3221): Simplify with scoped for each OF child loop
> hwmon: (lm90): Simplify with scoped for each OF child loop
> hwmon: (nct7802): Simplify with scoped for each OF child loop
> hwmon: (npcm750-pwm-fan): Simplify with scoped for each OF child loop
> hwmon: (tmp421): Simplify with scoped for each OF child loop
> hwmon: (tmp464): Simplify with scoped for each OF child loop
>
> drivers/hwmon/aspeed-g6-pwm-tach.c | 4 +---
> drivers/hwmon/aspeed-pwm-tacho.c | 8 +++-----
> drivers/hwmon/ina3221.c | 7 ++-----
> drivers/hwmon/lm90.c | 7 ++-----
> drivers/hwmon/nct7802.c | 7 ++-----
> drivers/hwmon/npcm750-pwm-fan.c | 5 ++---
> drivers/hwmon/tmp421.c | 7 ++-----
> drivers/hwmon/tmp464.c | 7 ++-----
> 8 files changed, 16 insertions(+), 36 deletions(-)
>
Series applied.
Thanks,
Guenter
More information about the Linux-aspeed
mailing list