Skip to content
Commit 583c377f authored by David Brownell's avatar David Brownell Committed by Len Brown
Browse files

ACPI: acpi_pci_set_power_state() cleanups



Minor cleanups to acpi_pci_set_power_state():  use the ACPI and PCI
state symbols to make clear that a mapping is being done between PCI
and ACPI states, instead of using magic numbers.  For paranoia's sake,
report any errors.  Save five bytes (x86_64) too.

Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 39273b58
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment