]> www.infradead.org Git - users/jedix/linux-maple.git/commit
usb: typec: tcpm: Use fwnode_get_child_node_count()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 10 Mar 2025 14:54:54 +0000 (16:54 +0200)
committerLee Jones <lee@kernel.org>
Thu, 10 Apr 2025 09:12:28 +0000 (10:12 +0100)
commit08ca89e98620c08d68b7e7aed6c9294698e214e1
treee7ca8518947eeea6f615649e8d84359229a7e631
parent53762bb44b0659e79a3e3177372e823ec4afcc8a
usb: typec: tcpm: Use fwnode_get_child_node_count()

Since fwnode_get_child_node_count() was split from its device property
counterpart, we may utilise it in the driver and drop custom implementation.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Kyle Tso <kyletso@google.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20250310150835.3139322-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/usb/typec/tcpm/tcpm.c