diff options
author | Greg Kroah-Hartman <[email protected]> | 2021-12-28 14:57:22 +0100 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2021-12-29 13:42:04 -0600 |
commit | 0cf948aab9a0049456d9a498af3da6b403e2a0ed (patch) | |
tree | 78bcbb3c521fb49149568807b171a791dfc888ba /net/lapb/lapb_timer.c | |
parent | 877fee2a0c65a3b0b6ac0e90d7d7718b5a0341d3 (diff) |
PCI/sysfs: Use default_groups in kobj_type for slot attrs
There are currently two ways to create a set of sysfs files for a
kobj_type: through the default_attrs field, and the default_groups field.
Move the PCI slot code to use the 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.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions