Kobject: convert drivers/md/md.c to use kobject_init/add_ng()
commit649316b25b148e57c8ef71748fc69fa6db276ad1
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 18 Dec 2007 06:05:35 +0000 (17 23:05 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:37 +0000 (24 20:40 -0800)
treead8fb0a11b90f0cac75bbadf53a8e344fd43574a
parentd5a379f77bc79c0a78b26f8c0159f55c8b11d68b
Kobject: convert drivers/md/md.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: 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