diff options
author | David Brownell <david-b@pacbell.net> | 2008-02-22 21:41:51 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-23 01:29:34 -0500 |
commit | 583c377f1d58e705f75d8d5648ab41722be1ebca (patch) | |
tree | 102d94c4bb214eed73b3940060763c4401c0a4e1 /drivers/acpi/osl.c | |
parent | 39273b58a409cd6d65c9732bdca00bacd1626672 (diff) |
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>
Diffstat (limited to 'drivers/acpi/osl.c')
0 files changed, 0 insertions, 0 deletions