[PATCH] Fix up bus code and remove use of rwsem.
authormochel@digitalimplant.org <mochel@digitalimplant.org>
Thu, 24 Mar 2005 21:02:28 +0000 (13:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 20 Jun 2005 22:15:18 +0000 (15:15 -0700)
commit6eded061b1263847aedac7469339e99579aec5e5
tree849eadc1c02df67e2d327880ce2ecc20975a856f
parentd4a7537122fa47a6ce41c5fdab53d844c78d7023
[PATCH] Fix up bus code and remove use of rwsem.

- Don't add devices to bus's embedded kset, since it's not used by anyone anymore.
- Don't need to take the bus rwsem when calling {device,driver}_attach(), since
  those functions use the klists and the klists' spinlocks.

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