drm: i915: Port to new backlight interface selection API
authorHans de Goede <hdegoede@redhat.com>
Tue, 16 Jun 2015 14:27:50 +0000 (16:27 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 18 Jun 2015 23:10:54 +0000 (01:10 +0200)
commitda882e5acbebd2aa8bb076521a5c5c9c70be324e
treeba75485317331373b2aafe5bc44d25c5f4f54e22
parent5fd677b75d2eefde6b8e3f510a5c2d4540eba1fe
drm: i915: Port to new backlight interface selection API

This results in a nice cleanup, as we can replace the complicated logic
from should_ignore_backlight_request() with a simple check for the type
being native.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/gpu/drm/i915/intel_opregion.c