diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-12-03 21:31:08 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-01-24 20:40:10 -0800 |
commit | c11c4154e7ff4cebfadad849b1e22689d759c3f4 (patch) | |
tree | 2038ed1677f55d3dafca6faac4a7155fb1e19166 /kernel/power/main.c | |
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>
Diffstat (limited to 'kernel/power/main.c')
0 files changed, 0 insertions, 0 deletions