Kobject: change drivers/acpi/system.c to use kobject_create_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:28 +0000 (20:40 -0800)
commita77aa28a2db3d134dd387f0f05cd6b6717fb1d28
tree3d30e7f284338a6c99a2c1ee119bf992d3808f5e
parent5b3f355d8fef95901505e924818b3031092453c2
Kobject: change drivers/acpi/system.c to use kobject_create_and_add

Stop using kobject_register for this static kobject, as it's overkill.
This way is much simpler.

Cc: Len Brown <len.brown@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/acpi/system.c