commit | c11c4154e7ff4cebfadad849b1e22689d759c3f4 | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@suse.de> | Mon Dec 03 21:31:08 2007 -0800 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Thu Jan 24 20:40:10 2008 -0800 |
tree | 2038ed1677f55d3dafca6faac4a7155fb1e19166 | |
parent | 244f6cee9a928103132a722292bfa0eb84114b07 [diff] |
kobject: add kobject_init_and_add function Also add a kobject_init_and_add function which bundles up what a lot of the current callers want to do all at once, and it properly handles the memory usages, unlike kobject_register(); Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>