diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-11-25 00:05:17 +0100 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2011-01-12 10:48:43 +0100 |
commit | 32a00d274e877eab3ea7ab196b75c9be5170d25e (patch) | |
tree | 0b7a515e8b2328e8cf8b22794cdf81ab19838b5d /usr | |
parent | Linux 2.6.37 (diff) | |
download | linux-32a00d274e877eab3ea7ab196b75c9be5170d25e.tar.xz linux-32a00d274e877eab3ea7ab196b75c9be5170d25e.zip |
ACPI / PM: Prevent acpi_power_get_inferred_state() from making changes
acpi_power_get_inferred_state() should not update
device->power.state behind the back of its caller, so make it return
the state via a pointer instead.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions