Kobject: convert drivers/base/core.c to use kobject_init/add_ng()
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 18 Dec 2007 06:05:35 +0000 (23:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:30 +0000 (20:40 -0800)
commit9990513c1ef040528c4e38163a073089d39c7903
treee170d5874a044f29b245714ae9c0ad3f3deac728
parent60728d62e4d273776e9ef9704f9ff8e8a248a8a1
Kobject: convert drivers/base/core.c to use kobject_init/add_ng()

This converts the code to use the new kobject functions, cleaning up the
logic in doing so.

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