diff options
| author | Krzysztof Wilczyński <[email protected]> | 2021-04-27 19:18:26 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2021-04-29 15:07:31 +0000 |
| commit | 4dd7dfa166d220a245ee21f499bb1084bc249393 (patch) | |
| tree | 26ebc7a0a0b3926a7600cf14701303d71aee4640 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | PCI/sysfs: Define ACPI label attributes with DEVICE_ATTR*() (diff) | |
| download | kernel-4dd7dfa166d220a245ee21f499bb1084bc249393.tar.gz kernel-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/[email protected]
Signed-off-by: Krzysztof Wilczyński <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
