Re: [PATCH] powerpc/opal: use default_groups in kobj_type

2022-01-09 Thread Michael Ellerman
On Tue, 4 Jan 2022 17:13:18 +0100, 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 powerpc opal dump and elog sysfs code to use > default_groups field which has been

[PATCH] powerpc/opal: use default_groups in kobj_type

2022-01-04 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 powerpc opal dump and elog sysfs code to use default_groups field which has been the preferred way since aa30f47cf666 ("kobject: Add support for