aboutsummaryrefslogtreecommitdiffstats
path: root/samples/kobject/kset-example.c
Commit message (Collapse)AuthorAgeFilesLines
* kobject: add sample code for how to use ksets/ktypes/kobjectsGreg Kroah-Hartman2008-01-241-0/+278
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>