[PATCH] powerpc/pseries/vas: use default_groups in kobj_type
Michael Ellerman
mpe at ellerman.id.au
Thu Mar 31 23:39:45 AEDT 2022
Greg Kroah-Hartman <gregkh at linuxfoundation.org> writes:
> 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 pseries vas sysfs code to use default_groups field
> which has been the preferred way since aa30f47cf666 ("kobject: Add
> support for default attribute groups to kobj_type") so that we can soon
> get rid of the obsolete default_attrs field.
>
> Cc: Michael Ellerman <mpe at ellerman.id.au>
> Cc: Benjamin Herrenschmidt <benh at kernel.crashing.org>
> Cc: Paul Mackerras <paulus at samba.org>
> Cc: Haren Myneni <haren at linux.ibm.com>
> Cc: Nicholas Piggin <npiggin at gmail.com>
> Cc: linuxppc-dev at lists.ozlabs.org
> Cc: linux-kernel at vger.kernel.org
> Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
> ---
>
> Note, I would like to take this through my driver-core tree for 5.18-rc2
> as this is the last hold-out of the default_attrs field. It "snuck" in
> as new code for 5.18-rc1, any objection to me taking it?
No objection, please take it via your tree.
cheers
More information about the Linuxppc-dev
mailing list