Commit 08ca89e
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>1 parent 53762bb commit 08ca89e
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7166 | 7166 | | |
7167 | 7167 | | |
7168 | 7168 | | |
7169 | | - | |
| 7169 | + | |
7170 | 7170 | | |
7171 | 7171 | | |
7172 | 7172 | | |
| |||
7232 | 7232 | | |
7233 | 7233 | | |
7234 | 7234 | | |
7235 | | - | |
7236 | | - | |
7237 | | - | |
| 7235 | + | |
7238 | 7236 | | |
7239 | 7237 | | |
7240 | 7238 | | |
| |||
0 commit comments