commit | 3d8995963dfec66ef6270e729bf75903e9043f9d | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Thu Nov 01 13:31:26 2007 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Jan 24 20:40:16 2008 -0800 |
tree | 3abf600f400fb1bbc26f0be4f43af6cb22d24ce4 | |
parent | 039a5dcd2fc45188a2d522df630db4f7ef903a0f [diff] |
kset: convert struct bus_device->devices to use kset_create 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>