Kobject: change arch/x86/kernel/cpu/mcheck/mce_amd_64.c to use kobject_init_and_add
authorGreg Kroah-Hartman <gregkh@suse.de>
Wed, 19 Dec 2007 17:23:20 +0000 (09:23 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:30 +0000 (20:40 -0800)
commit542eb75a27616bdde95c8d3764e0ab703579f8b5
tree626739659cb40b10fc4d213def12ff00bd4beec6
parenta521cf209c6e7042f85b2c5b16da3ffa8004fb7b
Kobject: change arch/x86/kernel/cpu/mcheck/mce_amd_64.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: Jacob Shin <jacob.shin@amd.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
arch/x86/kernel/cpu/mcheck/mce_amd_64.c