]> asedeno.scripts.mit.edu Git - linux.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)
commit2064fbc779d43c5ac38e20a4b4979e365f87349f
treeea28545a8d5d8733f2108504348e20245102c487
parent52ba92f5882adf1ee785c4c5ef23491948917fcd
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