Thread (58 messages) 58 messages, 8 authors, 2025-10-09
STALE265d
Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 12/16] media: thp7312: Use fwnode_for_each_child_node() instead

From: Sakari Ailus <sakari.ailus@linux.intel.com>
Date: 2025-09-24 07:46:28
Also in: linux-acpi, linux-leds, linux-media, linux-spi, lkml, netdev
Subsystem: media input infrastructure (v4l/dvb), the rest, thp7312 isp driver · Maintainers: Mauro Carvalho Chehab, Linus Torvalds, Laurent Pinchart, Paul Elder

fwnode_for_each_child_node() is now the same as
fwnode_for_each_available_child_node() on all backends (OF, ACPI and
swnode). In order to remove the available variants, switch the uses to
non-available variants.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
 drivers/media/i2c/thp7312.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/i2c/thp7312.c b/drivers/media/i2c/thp7312.c
index 775cfba188d8..86208a47f472 100644
--- a/drivers/media/i2c/thp7312.c
+++ b/drivers/media/i2c/thp7312.c
@@ -2064,7 +2064,7 @@ static int thp7312_parse_dt(struct thp7312_device *thp7312)
 		return -EINVAL;
 	}
 
-	fwnode_for_each_available_child_node(sensors, node) {
+	fwnode_for_each_child_node(sensors, node) {
 		if (fwnode_name_eq(node, "sensor")) {
 			if (!thp7312_sensor_parse_dt(thp7312, node))
 				num_sensors++;
-- 
2.47.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help