We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76f1308 commit ebd6823Copy full SHA for ebd6823
drivers/base/core.c
@@ -95,6 +95,8 @@ int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup)
95
96
list_add(&link->s_hook, &sup->consumers);
97
list_add(&link->c_hook, &con->suppliers);
98
+ pr_debug("%pfwP Linked as a fwnode consumer to %pfwP\n",
99
+ con, sup);
100
out:
101
mutex_unlock(&fwnode_link_lock);
102
@@ -109,6 +111,8 @@ int fwnode_link_add(struct fwnode_handle *con, struct fwnode_handle *sup)
109
111
*/
110
112
static void __fwnode_link_del(struct fwnode_link *link)
113
{
114
+ pr_debug("%pfwP Dropping the fwnode link to %pfwP\n",
115
+ link->consumer, link->supplier);
116
list_del(&link->s_hook);
117
list_del(&link->c_hook);
118
kfree(link);
0 commit comments