diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2022-12-10 10:36:32 -0600 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2022-12-10 10:36:32 -0600 |
commit | eae10935ef894532acf8645ed444fe4480a4eaf8 (patch) | |
tree | 116d20e24ca78d1df2bddaaa103c45b87509ecd0 /drivers/pci | |
parent | 84c3482963c8011d0d817fe1ddde28fbab321ae8 (diff) | |
parent | 9f0b4cc174c3c5ceb9322d01372369610f327c42 (diff) |
Merge branch 'pci/misc'
- Use METHOD_NAME__UID instead of plain string to make it easier to find
all uses (Yipeng Zou)
* pci/misc:
PCI/ACPI: Use METHOD_NAME__UID instead of plain string
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/pci-acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-acpi.c b/drivers/pci/pci-acpi.c index a46fec776ad7..068d6745bf98 100644 --- a/drivers/pci/pci-acpi.c +++ b/drivers/pci/pci-acpi.c @@ -67,7 +67,7 @@ static acpi_status acpi_match_rc(acpi_handle handle, u32 lvl, void *context, unsigned long long uid; acpi_status status; - status = acpi_evaluate_integer(handle, "_UID", NULL, &uid); + status = acpi_evaluate_integer(handle, METHOD_NAME__UID, NULL, &uid); if (ACPI_FAILURE(status) || uid != *segment) return AE_CTRL_DEPTH; |