Kobject: change arch/x86/kernel/cpu/mcheck/mce_amd_64.c to use kobject_create_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)
commita521cf209c6e7042f85b2c5b16da3ffa8004fb7b
treedcae97187672ab560675616ee1247fe618b06fef
parent3830c62fef49f8bb1b2f353c7fb9469e3d038f5d
Kobject: change arch/x86/kernel/cpu/mcheck/mce_amd_64.c to use kobject_create_and_add

Make this kobject dynamic and convert it to not use kobject_register,
which is going away.

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