diff options
author | Kimberly Brown <kimbrownkd@gmail.com> | 2019-04-01 22:51:24 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-25 22:06:10 +0200 |
commit | c484a6783d2b800ebbb110b28b0d96444f8b81ca (patch) | |
tree | 004b13a50d58fc29aaa7c9b8ff2e098c94c2809d /block | |
parent | aa30f47cf666111f6bbfd15f290a27e8a7b9d854 (diff) | |
download | linux-c484a6783d2b800ebbb110b28b0d96444f8b81ca.tar.gz linux-c484a6783d2b800ebbb110b28b0d96444f8b81ca.tar.bz2 linux-c484a6783d2b800ebbb110b28b0d96444f8b81ca.zip |
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>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions