android_kernel_motorola_sm6225/samples/kobject
Li Zefan 185000fc55 kobject: should use kobject_put() in kset-example
We should call kobject_put() instead of kfree() if kobject_init_and_add()
returns an error, shouldn't we? Don't set up a bad example ;)

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-21 21:54:56 -07:00
..
kobject-example.c
kset-example.c kobject: should use kobject_put() in kset-example 2008-07-21 21:54:56 -07:00
Makefile kobject: add sample code for how to use ksets/ktypes/kobjects 2008-01-24 20:40:41 -08:00