Kobject: change arch/sh/kernel/cpu/sh4/sq.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)
commitd48b335256cd75fcb1a4abb3ce8136d8d9c931cc
tree301315935d06466e5a1b98e3d5a68aab8c9032f8
parent89c426066462263c90957c37af29765855516b83
Kobject: change arch/sh/kernel/cpu/sh4/sq.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: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/sh/kernel/cpu/sh4/sq.c