From: Jani Nikula Date: Tue, 12 Mar 2013 09:44:16 +0000 (+0200) Subject: drm/i915: return actual brightness to .get_brightness callback X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~55^2~51^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c23396b40ed1e1d4751b0cadb8d1c8183a4e020;p=pandora-kernel.git drm/i915: return actual brightness to .get_brightness callback The backlight device .get_brightness callback is supposed to return the actual brightness by querying the hardware, not the cached value. See Documentation/ABI/stable/sysfs-class-backlight. The callback is there to support the actual_brightness sysfs file. With the backlight_level and backlight device brightness now in sync, one can reliably get the cached value through the brightness sysfs file. Signed-off-by: Jani Nikula Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed