[PATCH] Add a klist to struct bus_type for its drivers.
commit38fdac3cdce276554b4484a41f8ec2daf81cb2ff
authormochel@digitalimplant.org <mochel@digitalimplant.org>
Mon, 21 Mar 2005 20:00:18 +0000 (21 12:00 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:14 +0000 (20 15:15 -0700)
tree1bdd0b8b69bd8e13de53036c8ef8b968a0dacc1d
parent465c7a3a3a5aabcedd2e43612cac5a12f23da19a
[PATCH] Add a klist to struct bus_type for its drivers.

- Use it in bus_for_each_drv().
- 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