summaryrefslogtreecommitdiff
path: root/init/version.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2013-09-03 04:31:59 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-09-24 03:37:55 +0400
commit2a3ca1429589521df49fd9348fc382c34b57a88f (patch)
tree4d6ac682394ca5206c354a50d0a6cfc573412fe8 /init/version.c
parent7ca9b574915a17a588db37c5635890fe660ef7e9 (diff)
downloadlinux-2a3ca1429589521df49fd9348fc382c34b57a88f.tar.xz
i915: intel_acpi: convert acpi_get_handle() to acpi_has_method()
acpi_has_method() is a new ACPI API introduced to check the existence of an ACPI control method. It can be used to replace acpi_get_handle() in the case that 1. the calling function doesn't need the ACPI handle of the control method. and 2. the calling function doesn't care the reason why the method is unavailable. Convert acpi_get_handle() to acpi_has_method() in drivers/gpu/drm/i915/intel_acpi.c in this patch. Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'init/version.c')
0 files changed, 0 insertions, 0 deletions