ideapad: add ACPI helpers
authorIke Panhc <ike.pan@canonical.com>
Fri, 1 Oct 2010 07:38:46 +0000 (15:38 +0800)
committerMatthew Garrett <mjg@redhat.com>
Thu, 21 Oct 2010 13:36:49 +0000 (09:36 -0400)
There are two methods under VPC2004 which is used to access VDAT/VCMD of EC
register. Add helpers for read and write these two registers.

And add read_method_int for reading the return value from ACPI methods which
requires no parameter.

Signed-off-by: Ike Panhc <ike.pan@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>

No differences found