Thread (3 messages) flat view 3 messages, 3 authors, 2022-01-10

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

From: Tyrel Datwyler <tyreld@linux.ibm.com>
Date: 2022-01-04 19:53:38
Also in: lkml

On 1/4/22 7:54 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 powerpc cacheinfo 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 <redacted>
Cc: "Gautham R. Shenoy" <redacted>
Cc: Parth Shah <redacted>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
Reviewed-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help