]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
kobject: add sample code for how to use ksets/ktypes/kobjects
authorGreg Kroah-Hartman <gregkh@suse.de>
Tue, 27 Nov 2007 19:28:26 +0000 (11:28 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 25 Jan 2008 04:40:41 +0000 (20:40 -0800)
commit44bfe16e1083d66f97a5289e359c52ee2c8b19a7
treeee126f3c4a768e0f6e942132cf683f4ddaa81f55
parent40efcb05f213180b7cc8fd8d963377305f236c28
kobject: add sample code for how to use ksets/ktypes/kobjects

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>
samples/kobject/Makefile
samples/kobject/kset-example.c [new file with mode: 0644]