hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/hwtracing/coresight/coresight-core.c
....@@ -1415,13 +1415,8 @@
14151415 if (csdev->dev.fwnode == conn->child_fwnode) {
14161416 iterator->orphan = true;
14171417 coresight_remove_links(iterator, conn);
1418
- /*
1419
- * Drop the reference to the handle for the remote
1420
- * device acquired in parsing the connections from
1421
- * platform data.
1422
- */
1423
- fwnode_handle_put(conn->child_fwnode);
1424
- conn->child_fwnode = NULL;
1418
+
1419
+ conn->child_dev = NULL;
14251420 /* No need to continue */
14261421 break;
14271422 }