From: Danny Baumann Date: Tue, 19 Mar 2013 16:22:52 +0000 (+0000) Subject: ACPI / video: Fix applying indexed initial brightness value. X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~92^2~6^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=994fa63c5b126df6e9f31ef4e09000e2e243234b;p=pandora-kernel.git ACPI / video: Fix applying indexed initial brightness value. The value initially read via _BQC also needs to be offset by 2 to compensate for the first 2 special items in _BCL. Introduce a helper function that does the BQC-value-to-level conversion in order to not needlessly duplicate code. Signed-off-by: Danny Baumann Reviewed-by: Aaron Lu Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed