Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-07-21 | kobject: should use kobject_put() in kset-example | Li Zefan | |
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-01-24 | kobject: add sample code for how to use ksets/ktypes/kobjects | Greg Kroah-Hartman | |
This is a more complex example showing how to create a kset and a ktype and some default attributes for a group of kobjects. Cc: Kay Sievers <kay.sievers@vrfy.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |