acer-wmi: support integer return type from WMI methods
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Fri, 27 May 2011 06:52:14 +0000 (14:52 +0800)
committerMatthew Garrett <mjg@redhat.com>
Fri, 27 May 2011 16:40:10 +0000 (12:40 -0400)
commit987dfbaa65b2c3568b85e29d2598da08a011ee09
tree0f19173b53cd47b11e2e0de579085700ee02b35e
parentd436514e21b827ab602d1714028c34179c42d09f
acer-wmi: support integer return type from WMI methods

Acer WMID_GUID1/2 method's return value was declared to integer
type on Gateway notebook.
So, add this patch for support integer return type.

Reference: bko#33032
https://bugzilla.kernel.org/show_bug.cgi?id=33032

Tested on Gateway NV5909H laptop

Tested-by: Filipus Klutiero <chealer@gmail.com>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Lee, Chun-Yi <jlee@novell.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c