diff options
author | 2021-04-27 14:18:26 -0500 | |
---|---|---|
committer | 2021-04-29 10:07:31 -0500 | |
commit | 4dd7dfa166d220a245ee21f499bb1084bc249393 (patch) | |
tree | 26ebc7a0a0b3926a7600cf14701303d71aee4640 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | PCI/sysfs: Define ACPI label attributes with DEVICE_ATTR*() (diff) | |
download | wireguard-linux-4dd7dfa166d220a245ee21f499bb1084bc249393.tar.xz wireguard-linux-4dd7dfa166d220a245ee21f499bb1084bc249393.zip |
PCI/sysfs: Define SMBIOS label attributes with DEVICE_ATTR*()
Use DEVICE_ATTR*() to simplify definition of the SMBIOS label attributes.
No functional change intended.
Note that dev_attr_smbios_label requires __ATTR() because the "label"
attribute can be exposed via either ACPI or SMBIOS, and we already have the
ACPI label_show() function in this file.
[bhelgaas: split to separate patch]
Link: https://lore.kernel.org/r/20210416205856.3234481-6-kw@linux.com
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions