aboutsummaryrefslogtreecommitdiffstats
path: root/samples/kobject/kset-example.c
diff options
context:
space:
mode:
authorKimberly Brown <kimbrownkd@gmail.com>2019-04-01 22:51:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-04-25 22:06:10 +0200
commitaa30f47cf666111f6bbfd15f290a27e8a7b9d854 (patch)
treef37b73de916cc982e5fe7b5d0ad5dc70c3bc7702 /samples/kobject/kset-example.c
parentdriver core: Postpone DMA tear-down until after devres release for probe failure (diff)
downloadlinux-dev-aa30f47cf666111f6bbfd15f290a27e8a7b9d854.tar.xz
linux-dev-aa30f47cf666111f6bbfd15f290a27e8a7b9d854.zip
kobject: Add support for default attribute groups to kobj_type
kobj_type currently uses a list of individual attributes to store default attributes. Attribute groups are more flexible than a list of attributes because groups provide support for attribute visibility. So, add support for default attribute groups to kobj_type. In future patches, the existing uses of kobj_type’s attribute list will be converted to attribute groups. When that is complete, kobj_type’s attribute list, “default_attrs”, will be removed. Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/kobject/kset-example.c')
0 files changed, 0 insertions, 0 deletions