]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
GPU/i915: Fix acpi_bus_get_device() check in drivers/gpu/drm/i915/intel_opregion.c
authorYasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Fri, 1 Feb 2013 01:14:20 +0000 (10:14 +0900)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 1 Feb 2013 10:01:50 +0000 (11:01 +0100)
commit7d37beaaf3dbc6ff16f4d32a4dd6f8c557c6ab50
treeca780c06b9059398a056e61b4f9ee8469ea71bf6
parent209d52110a32c2069b5d870504e73fdb0e30fc51
GPU/i915: Fix acpi_bus_get_device() check in drivers/gpu/drm/i915/intel_opregion.c

acpi_bus_get_device() returns int not acpi_status.

The patch change not to apply ACPI_FAILURE() to the return value of
acpi_bus_get_device().

Signed-off-by: Yasuaki Ishimatsu <isimatu.yasuaki@jp.fujitsu.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_opregion.c