]> git.baikalelectronics.ru Git - kernel.git/commit
padata: Replace padata_attr_type default_attrs field with groups
authorKimberly Brown <kimbrownkd@gmail.com>
Tue, 2 Apr 2019 02:51:47 +0000 (22:51 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 20:06:11 +0000 (22:06 +0200)
commitcad07a1a8f04cfb78f47259cf39bc263054f7dfa
treeea28545a8d5d8733f2108504348e20245102c487
parent17a285bda616a6f1e27a3fc2c7d3936eefce8f39
padata: Replace padata_attr_type default_attrs field with groups

The kobj_type default_attrs field is being replaced by the
default_groups field. Replace padata_attr_type's default_attrs field
with default_groups and use the ATTRIBUTE_GROUPS macro to create
padata_default_groups.

This patch was tested by loading the pcrypt module and verifying that
the sysfs files for the attributes in the default groups were created.

Signed-off-by: Kimberly Brown <kimbrownkd@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kernel/padata.c