Commit 0956af53 authored by's avatar Committed by Greg Kroah-Hartman

[PATCH] Call klist_del() instead of klist_remove().

- Can't wait on removing the current item in the list (the positive refcount *because*
  we are using it causes it to deadlock).
Signed-off-by: default avatarPatrick Mochel <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 63c4f204
......@@ -177,7 +177,7 @@ void device_release_driver(struct device * dev)
sysfs_remove_link(&drv->kobj, kobject_name(&dev->kobj));
sysfs_remove_link(&dev->kobj, "driver");
if (drv->remove)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment