Re: [PATCH] drm/amdkfd: use default_groups in kobj_type

2022-01-07 Thread Alex Deucher
On Thu, Jan 6, 2022 at 4:57 AM Greg Kroah-Hartman wrote: > > There are currently 2 ways to create a set of sysfs files for a > kobj_type, through the default_attrs field, and the default_groups > field. Move the amdkfd sysfs code to use default_groups field which has > been the preferred way

[PATCH] drm/amdkfd: use default_groups in kobj_type

2022-01-07 Thread Greg Kroah-Hartman
There are currently 2 ways to create a set of sysfs files for a kobj_type, through the default_attrs field, and the default_groups field. Move the amdkfd sysfs code to use default_groups field which has been the preferred way since aa30f47cf666 ("kobject: Add support for default attribute groups