net-sysfs: Replace ktype default_attrs field with groups
authorKimberly Brown <kimbrownkd@gmail.com>
Tue, 2 Apr 2019 02:51:35 +0000 (22:51 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 25 Apr 2019 20:06:11 +0000 (22:06 +0200)
commitbe0d692657028854ff581b31191131b94f18637d
treece884f55f95b05b387dc90c3514db70643220b12
parent800f5aa1e7e1093fce197eecf2ff05b8491a5935
net-sysfs: Replace ktype default_attrs field with groups

The kobj_type default_attrs field is being replaced by the
default_groups field. Replace the default_attrs fields in rx_queue_ktype
and netdev_queue_ktype with default_groups. Use the ATTRIBUTE_GROUPS
macro to create rx_queue_default_groups and netdev_queue_default_groups.

This patch was tested by 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>
net/core/net-sysfs.c