PCI/ACPI: Move _OSC query checks to separate function
authorJoerg Roedel <jroedel@suse.de>
Tue, 24 Aug 2021 12:20:53 +0000 (14:20 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 Sep 2021 21:19:10 +0000 (16:19 -0500)
commit87f1f87a16818c36431391ea8c30ea926cab917f
tree443e0f39eae42e3b9d69d2affc903c85a2150053
parent4c6f6060b7c4fe058981d17784684429c5491243
PCI/ACPI: Move _OSC query checks to separate function

Move the checks about whether the _OSC controls are requested from the
firmware to a separate function.

Link: https://lore.kernel.org/r/20210824122054.29481-4-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
drivers/acpi/pci_root.c