Home
last modified time | relevance | path

Searched hist:"63064451 d0b8359999e7e8c4fd92951d96f5a057" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/misc/cxl/
H A Dsysfs.cdiff 63064451d0b8359999e7e8c4fd92951d96f5a057 Tue Dec 28 14:13:50 CET 2021 Greg Kroah-Hartman <gregkh@linuxfoundation.org> cxl: use default_groups in kobj_type

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 cxl 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: Frederic Barrat <fbarrat@linux.ibm.com>
Cc: Andrew Donnellan <ajd@linux.ibm.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20211228131350.249532-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>