]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitab1038b79c8716fffe7cc1bbf92bd0740125e146
tree84e74d8fe64f84b52b1023c963ebe215276d9f8e
parent3fa409d5397253b21a924b0ab76d7a48c033a002
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]