Kobject: convert fs/char_dev.c to use kobject_init/add_ng()
commita5815ddf26aa8208d4ad79b4fba5e6bf7d5ba688
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:31 +0000 (24 20:40 -0800)
tree5ad672e3d9f66eeb67b6308704895839b6924b7f
parent78be3d2f574bf8a9886550ad07b8124b194badb8
Kobject: convert fs/char_dev.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>
fs/char_dev.c