]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
kset: convert struct bus_device->drivers to use kset_create
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Nov 2007 20:31:26 +0000 (13:31 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:16 +0000 (20:40 -0800)
Dynamically create the kset instead of declaring it statically.

Having 3 static kobjects in one structure is not only foolish, but ripe
for nasty race conditions if handled improperly.  We also rename the
field to catch any potential users of it (not that there should be
outside of the driver core...)

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found