Messages in this thread | | | Date | Thu, 31 Mar 2022 15:39:41 +0200 | From | Greg Kroah-Hartman <> | Subject | Re: [PATCH] powerpc/pseries/vas: use default_groups in kobj_type |
| |
On Thu, Mar 31, 2022 at 11:39:45PM +1100, Michael Ellerman wrote: > Greg Kroah-Hartman <gregkh@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@ellerman.id.au> > > Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> > > Cc: Paul Mackerras <paulus@samba.org> > > Cc: Haren Myneni <haren@linux.ibm.com> > > Cc: Nicholas Piggin <npiggin@gmail.com> > > Cc: linuxppc-dev@lists.ozlabs.org > > Cc: linux-kernel@vger.kernel.org > > Signed-off-by: Greg Kroah-Hartman <gregkh@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.
Thanks, will do!
| |