ACPI: power: don't cache power resource state
authorAlexey Starikovskiy <astarikovskiy@suse.de>
Mon, 22 Oct 2007 10:19:09 +0000 (14:19 +0400)
committerLen Brown <len.brown@intel.com>
Thu, 25 Oct 2007 20:31:31 +0000 (16:31 -0400)
commitc35923bc558074d4f5e6f9706e4cb9811ae55775
tree562d2a16fac0bf72b5126f9d79e6d1765038692f
parent95b937e3f52a7f5546c4bffe29886fe400bad1d1
ACPI: power: don't cache power resource state

ACPI may change power resource state behind our back, so don't
keep our local copy, which may not be valid.

Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/bus.c
drivers/acpi/power.c