|
@@ -347,7 +347,7 @@ static void intel_didl_outputs(struct drm_device *dev)
|
|
|
int i = 0;
|
|
int i = 0;
|
|
|
|
|
|
|
|
handle = DEVICE_ACPI_HANDLE(&dev->pdev->dev);
|
|
handle = DEVICE_ACPI_HANDLE(&dev->pdev->dev);
|
|
|
- if (!handle || ACPI_FAILURE(acpi_bus_get_device(handle, &acpi_dev)))
|
|
|
|
|
|
|
+ if (!handle || acpi_bus_get_device(handle, &acpi_dev))
|
|
|
return;
|
|
return;
|
|
|
|
|
|
|
|
if (acpi_is_video_device(acpi_dev))
|
|
if (acpi_is_video_device(acpi_dev))
|