]> 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)
commit6393956447587ed5154c7a065a8dc7e9cfd53e29
tree896b3779d4f6b259b24997a33a7dd054ac79fc79
parent598e7377510c33a0db110cf1b785a016b7cb787a
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