OSDN Git Service

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)
commit2ed6494155444dd4d2005869edce1ae73b4f23ca
tree896b3779d4f6b259b24997a33a7dd054ac79fc79
parent1017275d2e43dba68527e0e69f4cc12d2b0f8966
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