commit | 952c63e9512b63220886105cfc791507046fa39a | [log] [tgz] |
---|---|---|
author | Jiang Liu <jiang.liu@huawei.com> | Sat Jun 29 00:24:38 2013 +0800 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jul 15 01:33:10 2013 +0200 |
tree | bf3bd0592ea0fac74418fe16b8a4125e2db799ea | |
parent | 472d963befe28b8614ea2789757b27536c8d79eb [diff] |
ACPI: introduce helper function acpi_has_method() Introduce helper function acpi_has_method() and use it in a number of places to simplify code. [rjw: Changelog] Signed-off-by: Jiang Liu <jiang.liu@huawei.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>