diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-09-27 21:48:53 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-25 04:40:10 (GMT) |
commit | b727c702896f88d2ff6c3e03bd011d7c3dffe3e1 (patch) | |
tree | 772f0a3eb78a3e1d3475d36356bbff715a907829 /block | |
parent | 12d03da7c19366268bdbc9fb0cd08d719c0cc283 (diff) | |
download | linux-b727c702896f88d2ff6c3e03bd011d7c3dffe3e1.tar.xz |
kset: add kset_create_and_add function
Now ksets can be dynamically created on the fly, no static definitions
are required. Thanks to Miklos for hints on how to make this work
better for the callers.
And thanks to Kay for finding some stupid bugs in my original version
and pointing out that we need to handle the fact that kobject's can have
a kset as a parent and to handle that properly in kobject_add().
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Miklos Szeredi <miklos@szeredi.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions