commit | 5c95638d115f9c6661fff254b3beb14b19f88e41 | [log] [tgz] |
---|---|---|
author | Corentin Chary <corentincj@iksaif.net> | Sun Feb 06 13:28:31 2011 +0100 |
committer | Matthew Garrett <mjg@redhat.com> | Mon Mar 28 06:05:16 2011 -0400 |
tree | a8028278fafc70dc2c363b437ab88a4e54124a5c | |
parent | 7898cf1a3665d22c4d16308f73e981c6464be81b [diff] |
eeepc-wmi: add an helper using simple return codes eeepc_wmi_get_devstate returns an acpi_status, so each call need extra logic to handle the return code. This patch add a simple getter, returning a boolean (or a negative error code). Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Matthew Garrett <mjg@redhat.com>