]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/sysfs: Define ACPI label attributes with DEVICE_ATTR*()
authorKrzysztof Wilczyński <kw@linux.com>
Tue, 27 Apr 2021 18:48:51 +0000 (13:48 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Apr 2021 15:07:31 +0000 (10:07 -0500)
commitb87138a3778560196968dea921b16e2f62fdabcb
tree896b3779d4f6b259b24997a33a7dd054ac79fc79
parent4034f61355bc36f1600646b38dbd52bc33d54d7c
PCI/sysfs: Define ACPI label attributes with DEVICE_ATTR*()

Use DEVICE_ATTR*() to simplify definitions of the ACPI label attributes.
No functional change intended.

[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>
drivers/pci/pci-label.c