]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0037841671053d9288aa7135b09cb3b6f2ee7066
treeeb6d52ce82293b5c01e85472919bc3b93b9f7447
parentfa96536be7be068d3d5d1fd25ff2088ed890fa72
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