]> git.baikalelectronics.ru Git - kernel.git/commit
kobject core: remove rwsem from struct subsystem
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 9 Apr 2007 15:52:31 +0000 (11:52 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 17:57:31 +0000 (10:57 -0700)
commita2b68c40ee18d633539c66db3b4fe6e4c1ce519b
treedf7081e3f18899c35873b647a582be655b1a5ed1
parentb7dd5d92a876635ed032b47e653cc54ad33e86d2
kobject core: remove rwsem from struct subsystem

It isn't used at all by the driver core anymore, and the few usages of
it within the kernel have now all been fixed as most of them were using
it incorrectly.  So remove it.

Now the whole struct subsys can be removed from the system, but that's
for a later patch...

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/kobject.h
lib/kobject.c