[PATCH] Add a klist to struct bus_type for its devices.
commit465c7a3a3a5aabcedd2e43612cac5a12f23da19a
authormochel@digitalimplant.org <mochel@digitalimplant.org>
Mon, 21 Mar 2005 19:49:14 +0000 (21 11:49 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:14 +0000 (20 15:15 -0700)
tree392dabbfe84d1de3e84b1eb238bfd09d0ade6c4c
parent9a19fea43616066561e221359596ce532e631395
[PATCH] Add a klist to struct bus_type for its devices.

- Use it for bus_for_each_dev().
- Use the klist spinlock instead of the bus rwsem.

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