ACPI: EC: Add ec_get_handle()
authorSeth Forshee <seth.forshee@canonical.com>
Wed, 18 Jan 2012 19:44:08 +0000 (13:44 -0600)
committerMatthew Garrett <mjg@redhat.com>
Tue, 20 Mar 2012 16:14:25 +0000 (12:14 -0400)
commit3e2abc5a35d25442821e1733687b7abbc83b5072
treeb20d167e7211e8ac75000b0fbe27cf16abe121cf
parent7714567c87f43862d3d7049ed2907567be3e50c3
ACPI: EC: Add ec_get_handle()

toshiba_acpi needs to execute an AML method within the EC namespace
to make hotkeys work on some platforms. Provide an interface to
allow it to easily get a handle to the EC namespace for this purpose.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/acpi/ec.c
include/linux/acpi.h