PCI/sysfs: Rename device_has_dsm() to device_has_acpi_name()
authorKrzysztof Wilczyński <kw@linux.com>
Tue, 27 Apr 2021 15:39:16 +0000 (10:39 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 29 Apr 2021 15:07:31 +0000 (10:07 -0500)
commit1017275d2e43dba68527e0e69f4cc12d2b0f8966
tree5e57eea42a425bf2feaba02c429b06e4dfa1aafa
parentd93f8399053dcf117ff56a3029ff08c0e36f4b75
PCI/sysfs: Rename device_has_dsm() to device_has_acpi_name()

Rename device_has_dsm() to device_has_acpi_name() to better reflect its
purpose and move it earlier so it's available for a future SMBIOS
.is_visible() function.  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