From: mochel@digitalimplant.org Date: Mon, 21 Mar 2005 20:25:36 +0000 (-0800) Subject: [PATCH] Add a klist to struct device_driver for the devices bound to it. X-Git-Tag: v2.6.13-rc1~68^2~583^2^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94e7b1c5ff2055571703e38b059afffe17658432;p=pandora-kernel.git [PATCH] Add a klist to struct device_driver for the devices bound to it. - Use it in driver_for_each_device() instead of the regular list_head and stop using the bus's rwsem for protection. - Use driver_for_each_device() in driver_detach() so we don't deadlock on the bus's rwsem. - Remove ->devices. - Move klist access and sysfs link access out from under device's semaphore, since they're synchronized through other means. Signed-off-by: Patrick Mochel Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed