OSDN Git Service

PCI/ACPI: Move supported and control calculations to separate functions
authorJoerg Roedel <jroedel@suse.de>
Tue, 24 Aug 2021 12:20:52 +0000 (14:20 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 Sep 2021 21:18:07 +0000 (16:18 -0500)
commit4c6f6060b7c4fe058981d17784684429c5491243
treeeb6d52ce82293b5c01e85472919bc3b93b9f7447
parentaf9d82626c8f8547910e3e22c76ced3f5d5f5286
PCI/ACPI: Move supported and control calculations to separate functions

Move the calculations of supported and controlled _OSC features out of
negotiate_os_control() into separate functions.

Link: https://lore.kernel.org/r/20210824122054.29481-3-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