]> err.no Git - linux-2.6/commit
Kobject: change drivers/md/md.c 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:29 +0000 (20:40 -0800)
commit3830c62fef49f8bb1b2f353c7fb9469e3d038f5d
treef9af151ea91d1bc91cdc1a66d35171e0aa26e08f
parentc199790a8bc90c91b88ad1205dee2955401cff81
Kobject: change drivers/md/md.c 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: Neil Brown <neilb@suse.de>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/md/md.c