linux/samples/kobject
Kimberly Brown c484a6783d samples/kobject: Replace foo_ktype's default_attrs field with groups
The kobj_type default_attrs field is being replaced by the
default_groups field. Replace foo_ktype's default_attrs field with
default_groups and use the ATTRIBUTE_GROUPS macro to create
foo_default_groups.

This patch was tested by loading the kset-example module and verifying
that the sysfs files for the attributes in the default group were
created.

Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-25 22:06:10 +02:00
..
kobject-example.c kobject: Remove redundant license text 2017-12-07 18:36:43 +01:00
kset-example.c samples/kobject: Replace foo_ktype's default_attrs field with groups 2019-04-25 22:06:10 +02:00
Makefile kobject: add sample code for how to use ksets/ktypes/kobjects 2008-01-24 20:40:41 -08:00