ACPI: acpi_pci_set_power_state() cleanups
authorDavid Brownell <david-b@pacbell.net>
Sat, 23 Feb 2008 05:41:51 +0000 (21:41 -0800)
committerLen Brown <len.brown@intel.com>
Sat, 23 Feb 2008 06:29:34 +0000 (01:29 -0500)
commit583c377f1d58e705f75d8d5648ab41722be1ebca
tree102d94c4bb214eed73b3940060763c4401c0a4e1
parent39273b58a409cd6d65c9732bdca00bacd1626672
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: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pci/pci-acpi.c