diff options
author | 2021-12-28 14:57:22 +0100 | |
---|---|---|
committer | 2021-12-29 13:42:04 -0600 | |
commit | 0cf948aab9a0049456d9a498af3da6b403e2a0ed (patch) | |
tree | 78bcbb3c521fb49149568807b171a791dfc888ba /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI: Convert pci_dev_present() stub to static inline (diff) | |
download | wireguard-linux-0cf948aab9a0049456d9a498af3da6b403e2a0ed.tar.xz wireguard-linux-0cf948aab9a0049456d9a498af3da6b403e2a0ed.zip |
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/20211228135722.381023-1-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions