]> err.no Git - linux-2.6/commit
Kobject: change drivers/cpuidle/sysfs.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:28 +0000 (20:40 -0800)
commit94f57f33680922197581b127b3badde7ef658258
tree6bd9162944d0b90a4ae153f3ec29d0073d64f67b
parentb2ed215a3338b8b16187be8d136153054118a41e
Kobject: change drivers/cpuidle/sysfs.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: Shaohua Li <shaohua.li@intel.com>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/cpuidle/sysfs.c