Kobject: change drivers/parisc/pdc_stable.c to use kobject_init_and_add
commit73f368cf679babef42e54f0fe19270040ac9d4d7
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 Dec 2007 19:54:39 +0000 (17 15:54 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:29 +0000 (24 20:40 -0800)
tree58dd289673022c20290265a7e2e6cef166c3010c
parent8dde2a96c146cc0491beec41fe3bf0477a1f15aa
Kobject: change drivers/parisc/pdc_stable.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: Kyle McMartin <kyle@parisc-linux.org>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Grant Grundler <grundler@parisc-linux.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/parisc/pdc_stable.c