Kobject: change drivers/base/bus to use kobject_init_and_add
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Dec 2007 19:54:39 +0000 (15:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:35 +0000 (20:40 -0800)
commitc8e90d822bff3e0502d004facedb05859f98055f
tree12d37b4c20ab4ff6e55adcfbfff2bae8fdbeed41
parent7dc72b2842381684b864750af31a5fb168dec764
Kobject: change drivers/base/bus to use kobject_init_and_add

Stop using kobject_register, as this way we can control the sending of
the uevent properly, after everything is properly initialized.

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