aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorKrzysztof Wilczyński <[email protected]>2021-04-27 14:18:26 -0500
committerBjorn Helgaas <[email protected]>2021-04-29 10:07:31 -0500
commit4dd7dfa166d220a245ee21f499bb1084bc249393 (patch)
tree26ebc7a0a0b3926a7600cf14701303d71aee4640 /drivers/pci/controller/dwc
parent2ed6494155444dd4d2005869edce1ae73b4f23ca (diff)
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')
0 files changed, 0 insertions, 0 deletions