Platform / x86: Make fujitsu_laptop use acpi_bus_update_power()
authorRafael J. Wysocki <rjw@sisk.pl>
Sat, 11 Dec 2010 22:43:26 +0000 (23:43 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 12 Jan 2011 09:48:45 +0000 (04:48 -0500)
commit40b7397579e006c0f9cf4de58e9ccc350e06308f
treead64a5541e513b6094c160031d135f700f1374c5
parent488a76c52606199100adf09c8eb7cbedbd94e9d9
Platform / x86: Make fujitsu_laptop use acpi_bus_update_power()

Use the new function acpi_bus_update_power(), which is safer than
acpi_bus_get_power(), for getting device power state in
acpi_fujitsu_add() and acpi_fujitsu_hotkey_add().

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reported-and-Tested-by: Sedat Dilek <sedat.dilek@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/fujitsu-laptop.c