Linux Hardware Monitor development
 help / color / mirror / Atom feed
* [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child
@ 2024-08-22  6:29 Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 1/8] hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop Jinjie Ruan
                   ` (8 more replies)
  0 siblings, 9 replies; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH -next 1/8] hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-23  4:02   ` Andrew Jeffery
  2024-08-22  6:29 ` [PATCH -next 2/8] hwmon: (aspeed-pwm-tacho): " Jinjie Ruan
                   ` (7 subsequent siblings)
  8 siblings, 1 reply; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/aspeed-g6-pwm-tach.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/drivers/hwmon/aspeed-g6-pwm-tach.c b/drivers/hwmon/aspeed-g6-pwm-tach.c
index 08a2ded95e45..75eadda738ab 100644
--- a/drivers/hwmon/aspeed-g6-pwm-tach.c
+++ b/drivers/hwmon/aspeed-g6-pwm-tach.c
@@ -456,7 +456,6 @@ static int aspeed_pwm_tach_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev, *hwmon;
 	int ret;
-	struct device_node *child;
 	struct aspeed_pwm_tach_data *priv;
 	struct pwm_chip *chip;
 
@@ -498,10 +497,9 @@ static int aspeed_pwm_tach_probe(struct platform_device *pdev)
 	if (ret)
 		return dev_err_probe(dev, ret, "Failed to add PWM chip\n");
 
-	for_each_child_of_node(dev->of_node, child) {
+	for_each_child_of_node_scoped(dev->of_node, child) {
 		ret = aspeed_create_fan_monitor(dev, child, priv);
 		if (ret) {
-			of_node_put(child);
 			dev_warn(dev, "Failed to create fan %d", ret);
 			return 0;
 		}
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH -next 2/8] hwmon: (aspeed-pwm-tacho): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 1/8] hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-23  4:03   ` Andrew Jeffery
  2024-08-22  6:29 ` [PATCH -next 3/8] hwmon: (ina3221): " Jinjie Ruan
                   ` (6 subsequent siblings)
  8 siblings, 1 reply; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/aspeed-pwm-tacho.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/drivers/hwmon/aspeed-pwm-tacho.c b/drivers/hwmon/aspeed-pwm-tacho.c
index 4acc1858d8ac..aa159bf158a3 100644
--- a/drivers/hwmon/aspeed-pwm-tacho.c
+++ b/drivers/hwmon/aspeed-pwm-tacho.c
@@ -907,7 +907,7 @@ static void aspeed_pwm_tacho_remove(void *data)
 static int aspeed_pwm_tacho_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-	struct device_node *np, *child;
+	struct device_node *np;
 	struct aspeed_pwm_tacho_data *priv;
 	void __iomem *regs;
 	struct device *hwmon;
@@ -951,12 +951,10 @@ static int aspeed_pwm_tacho_probe(struct platform_device *pdev)
 
 	aspeed_create_type(priv);
 
-	for_each_child_of_node(np, child) {
+	for_each_child_of_node_scoped(np, child) {
 		ret = aspeed_create_fan(dev, child, priv);
-		if (ret) {
-			of_node_put(child);
+		if (ret)
 			return ret;
-		}
 	}
 
 	priv->groups[0] = &pwm_dev_group;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH -next 3/8] hwmon: (ina3221): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 1/8] hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 2/8] hwmon: (aspeed-pwm-tacho): " Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 4/8] hwmon: (lm90): " Jinjie Ruan
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/ina3221.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/hwmon/ina3221.c b/drivers/hwmon/ina3221.c
index f0053f87e3e6..1bf479a0f793 100644
--- a/drivers/hwmon/ina3221.c
+++ b/drivers/hwmon/ina3221.c
@@ -813,7 +813,6 @@ static int ina3221_probe_child_from_dt(struct device *dev,
 static int ina3221_probe_from_dt(struct device *dev, struct ina3221_data *ina)
 {
 	const struct device_node *np = dev->of_node;
-	struct device_node *child;
 	int ret;
 
 	/* Compatible with non-DT platforms */
@@ -822,12 +821,10 @@ static int ina3221_probe_from_dt(struct device *dev, struct ina3221_data *ina)
 
 	ina->single_shot = of_property_read_bool(np, "ti,single-shot");
 
-	for_each_child_of_node(np, child) {
+	for_each_child_of_node_scoped(np, child) {
 		ret = ina3221_probe_child_from_dt(dev, child, ina);
-		if (ret) {
-			of_node_put(child);
+		if (ret)
 			return ret;
-		}
 	}
 
 	return 0;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH -next 4/8] hwmon: (lm90): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
                   ` (2 preceding siblings ...)
  2024-08-22  6:29 ` [PATCH -next 3/8] hwmon: (ina3221): " Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 5/8] hwmon: (nct7802): " Jinjie Ruan
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/lm90.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c
index ca5c52b38c0f..511d95a0efb3 100644
--- a/drivers/hwmon/lm90.c
+++ b/drivers/hwmon/lm90.c
@@ -2674,19 +2674,16 @@ static int lm90_parse_dt_channel_info(struct i2c_client *client,
 				      struct lm90_data *data)
 {
 	int err;
-	struct device_node *child;
 	struct device *dev = &client->dev;
 	const struct device_node *np = dev->of_node;
 
-	for_each_child_of_node(np, child) {
+	for_each_child_of_node_scoped(np, child) {
 		if (strcmp(child->name, "channel"))
 			continue;
 
 		err = lm90_probe_channel_from_dt(client, child, data);
-		if (err) {
-			of_node_put(child);
+		if (err)
 			return err;
-		}
 	}
 
 	return 0;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH -next 5/8] hwmon: (nct7802): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
                   ` (3 preceding siblings ...)
  2024-08-22  6:29 ` [PATCH -next 4/8] hwmon: (lm90): " Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 6/8] hwmon: (npcm750-pwm-fan): " Jinjie Ruan
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/nct7802.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/hwmon/nct7802.c b/drivers/hwmon/nct7802.c
index 5e83504800a3..8c9351da12c6 100644
--- a/drivers/hwmon/nct7802.c
+++ b/drivers/hwmon/nct7802.c
@@ -1129,17 +1129,14 @@ static int nct7802_configure_channels(struct device *dev,
 {
 	/* Enable local temperature sensor by default */
 	u8 mode_mask = MODE_LTD_EN, mode_val = MODE_LTD_EN;
-	struct device_node *node;
 	int err;
 
 	if (dev->of_node) {
-		for_each_child_of_node(dev->of_node, node) {
+		for_each_child_of_node_scoped(dev->of_node, node) {
 			err = nct7802_get_channel_config(dev, node, &mode_mask,
 							 &mode_val);
-			if (err) {
-				of_node_put(node);
+			if (err)
 				return err;
-			}
 		}
 	}
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH -next 6/8] hwmon: (npcm750-pwm-fan): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
                   ` (4 preceding siblings ...)
  2024-08-22  6:29 ` [PATCH -next 5/8] hwmon: (nct7802): " Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 7/8] hwmon: (tmp421): " Jinjie Ruan
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/npcm750-pwm-fan.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/drivers/hwmon/npcm750-pwm-fan.c b/drivers/hwmon/npcm750-pwm-fan.c
index bc8db1dc595d..db3b551828eb 100644
--- a/drivers/hwmon/npcm750-pwm-fan.c
+++ b/drivers/hwmon/npcm750-pwm-fan.c
@@ -927,7 +927,7 @@ static int npcm7xx_en_pwm_fan(struct device *dev,
 static int npcm7xx_pwm_fan_probe(struct platform_device *pdev)
 {
 	struct device *dev = &pdev->dev;
-	struct device_node *np, *child;
+	struct device_node *np;
 	struct npcm7xx_pwm_fan_data *data;
 	struct resource *res;
 	struct device *hwmon;
@@ -1004,11 +1004,10 @@ static int npcm7xx_pwm_fan_probe(struct platform_device *pdev)
 		}
 	}
 
-	for_each_child_of_node(np, child) {
+	for_each_child_of_node_scoped(np, child) {
 		ret = npcm7xx_en_pwm_fan(dev, child, data);
 		if (ret) {
 			dev_err(dev, "enable pwm and fan failed\n");
-			of_node_put(child);
 			return ret;
 		}
 	}
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH -next 7/8] hwmon: (tmp421): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
                   ` (5 preceding siblings ...)
  2024-08-22  6:29 ` [PATCH -next 6/8] hwmon: (npcm750-pwm-fan): " Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-22  6:29 ` [PATCH -next 8/8] hwmon: (tmp464): " Jinjie Ruan
  2024-08-27  4:01 ` [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Guenter Roeck
  8 siblings, 0 replies; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/tmp421.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/hwmon/tmp421.c b/drivers/hwmon/tmp421.c
index 7a6f9532e594..9537727aad9a 100644
--- a/drivers/hwmon/tmp421.c
+++ b/drivers/hwmon/tmp421.c
@@ -410,18 +410,15 @@ static int tmp421_probe_from_dt(struct i2c_client *client, struct tmp421_data *d
 {
 	struct device *dev = &client->dev;
 	const struct device_node *np = dev->of_node;
-	struct device_node *child;
 	int err;
 
-	for_each_child_of_node(np, child) {
+	for_each_child_of_node_scoped(np, child) {
 		if (strcmp(child->name, "channel"))
 			continue;
 
 		err = tmp421_probe_child_from_dt(client, child, data);
-		if (err) {
-			of_node_put(child);
+		if (err)
 			return err;
-		}
 	}
 
 	return 0;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH -next 8/8] hwmon: (tmp464): Simplify with scoped for each OF child loop
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
                   ` (6 preceding siblings ...)
  2024-08-22  6:29 ` [PATCH -next 7/8] hwmon: (tmp421): " Jinjie Ruan
@ 2024-08-22  6:29 ` Jinjie Ruan
  2024-08-27  4:01 ` [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Guenter Roeck
  8 siblings, 0 replies; 12+ messages in thread
From: Jinjie Ruan @ 2024-08-22  6:29 UTC (permalink / raw)
  To: jdelvare, linux, joel, andrew, linux-hwmon, linux-arm-kernel,
	linux-aspeed
  Cc: ruanjinjie

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@huawei.com>
---
 drivers/hwmon/tmp464.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/drivers/hwmon/tmp464.c b/drivers/hwmon/tmp464.c
index 0a7c0448835b..0f629c6d7695 100644
--- a/drivers/hwmon/tmp464.c
+++ b/drivers/hwmon/tmp464.c
@@ -562,18 +562,15 @@ static int tmp464_probe_child_from_dt(struct device *dev,
 static int tmp464_probe_from_dt(struct device *dev, struct tmp464_data *data)
 {
 	const struct device_node *np = dev->of_node;
-	struct device_node *child;
 	int err;
 
-	for_each_child_of_node(np, child) {
+	for_each_child_of_node_scoped(np, child) {
 		if (strcmp(child->name, "channel"))
 			continue;
 
 		err = tmp464_probe_child_from_dt(dev, child, data);
-		if (err) {
-			of_node_put(child);
+		if (err)
 			return err;
-		}
 	}
 
 	return 0;
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH -next 1/8] hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop
  2024-08-22  6:29 ` [PATCH -next 1/8] hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop Jinjie Ruan
@ 2024-08-23  4:02   ` Andrew Jeffery
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Jeffery @ 2024-08-23  4:02 UTC (permalink / raw)
  To: Jinjie Ruan, jdelvare, linux, joel, linux-hwmon, linux-arm-kernel,
	linux-aspeed

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@huawei.com>

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH -next 2/8] hwmon: (aspeed-pwm-tacho): Simplify with scoped for each OF child loop
  2024-08-22  6:29 ` [PATCH -next 2/8] hwmon: (aspeed-pwm-tacho): " Jinjie Ruan
@ 2024-08-23  4:03   ` Andrew Jeffery
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Jeffery @ 2024-08-23  4:03 UTC (permalink / raw)
  To: Jinjie Ruan, jdelvare, linux, joel, linux-hwmon, linux-arm-kernel,
	linux-aspeed

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@huawei.com>

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child
  2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
                   ` (7 preceding siblings ...)
  2024-08-22  6:29 ` [PATCH -next 8/8] hwmon: (tmp464): " Jinjie Ruan
@ 2024-08-27  4:01 ` Guenter Roeck
  8 siblings, 0 replies; 12+ messages in thread
From: Guenter Roeck @ 2024-08-27  4:01 UTC (permalink / raw)
  To: Jinjie Ruan, jdelvare, joel, andrew, linux-hwmon,
	linux-arm-kernel, linux-aspeed

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-08-27  4:01 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-22  6:29 [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Jinjie Ruan
2024-08-22  6:29 ` [PATCH -next 1/8] hwmon: (aspeed-g6-pwm-tacho): Simplify with scoped for each OF child loop Jinjie Ruan
2024-08-23  4:02   ` Andrew Jeffery
2024-08-22  6:29 ` [PATCH -next 2/8] hwmon: (aspeed-pwm-tacho): " Jinjie Ruan
2024-08-23  4:03   ` Andrew Jeffery
2024-08-22  6:29 ` [PATCH -next 3/8] hwmon: (ina3221): " Jinjie Ruan
2024-08-22  6:29 ` [PATCH -next 4/8] hwmon: (lm90): " Jinjie Ruan
2024-08-22  6:29 ` [PATCH -next 5/8] hwmon: (nct7802): " Jinjie Ruan
2024-08-22  6:29 ` [PATCH -next 6/8] hwmon: (npcm750-pwm-fan): " Jinjie Ruan
2024-08-22  6:29 ` [PATCH -next 7/8] hwmon: (tmp421): " Jinjie Ruan
2024-08-22  6:29 ` [PATCH -next 8/8] hwmon: (tmp464): " Jinjie Ruan
2024-08-27  4:01 ` [PATCH -next 0/8] hwmon: Simplify with scoped for each OF child Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox