Thread (12 messages) 12 messages, 3 authors, 2024-08-27

Re: [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child

From: Guenter Roeck <linux@roeck-us.net>
Date: 2024-08-27 04:02:08
Also in: linux-aspeed, linux-hwmon

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help