From: Jani Nikula Date: Mon, 3 Sep 2012 13:25:12 +0000 (+0300) Subject: drm/i915: do not expose a dysfunctional backlight interface to userspace X-Git-Tag: v3.6-rc6~14^2~5^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28dcc2d60cb570d9f549c329b2f51400553412a1;p=pandora-kernel.git drm/i915: do not expose a dysfunctional backlight interface to userspace Previously intel_panel_setup_backlight() would create a sysfs backlight interface with max brightness of 1 if it was unable to figure out the max backlight brightness. This rendered the backlight interface useless. Do not create a dysfunctional backlight interface to begin with. Signed-off-by: Jani Nikula Tested-by: David Woodhouse Reviewed-by: Chris Wilson Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed