kobject: add sample code for how to use kobjects in a simple manner.
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)
commit40efcb05f213180b7cc8fd8d963377305f236c28
tree84e74d8fe64f84b52b1023c963ebe215276d9f8e
parent36d78d6c5b50ba945bbdee9bf1d8daac00154e02
kobject: add sample code for how to use kobjects in a simple manner.

This is a simple kobject module, showing how to use kobj_attributes in
basic and more complex ways.

Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
samples/Kconfig
samples/Makefile
samples/kobject/Makefile [new file with mode: 0644]
samples/kobject/kobject-example.c [new file with mode: 0644]