[PATCH] Driver core: Use klist_del() instead of klist_remove().
authorPatrick Mochel <mochel@digitalimplant.org>
Fri, 24 Jun 2005 15:39:33 +0000 (08:39 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 30 Jun 2005 05:48:05 +0000 (22:48 -0700)
commitd62c0f9fd2d3943a3eca85b490d86e1605000ccb
treec9fc174992f7746f680becdeaa1bdb6924108c0f
parent23d3d602cb96addd3c1158424fb01a49ea5e81b1
[PATCH] Driver core: Use klist_del() instead of klist_remove().

Use klist_del() instead of klist_remove() when unregistering devices.
This will prevent a deadlock when executing a recursive unregister using
device_for_each_child().

Signed-off-by Patrick Mochel <mochel@digitalimplant.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/base/core.c