ACPI / PM: Prevent acpi_power_get_inferred_state() from making changes
authorRafael J. Wysocki <rjw@sisk.pl>
Wed, 24 Nov 2010 23:05:17 +0000 (00:05 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 12 Jan 2011 09:48:43 +0000 (04:48 -0500)
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>

No differences found