CHROMIUM: auxdisplay/ps8620: implement backlight control
authorVincent Palatin <vpalatin@chromium.org>
Thu, 14 Feb 2013 19:40:36 +0000 (11:40 -0800)
committerChromeBot <chrome-bot@google.com>
Fri, 15 Feb 2013 17:46:21 +0000 (09:46 -0800)
commit415900c1c77722014b7fb811a61fe1171057a9a1
tree9136ec4c25ce006cef21d2a5dcd32cd6b4ec49c5
parent6ea8ba1194cd153106b87ddc4f299d40b79a9dde
CHROMIUM: auxdisplay/ps8620: implement backlight control

Add a standard backlight interface to the PS8622 bridge.

Also refactor how we are storing the driver data in a more classical fashion.

Signed-off-by: Vincent Palatin <vpalatin@chromium.org>
BUG=chrome-os-partner:17227
TEST=on Spring, boot ChromeOS and press Backlight+/- keys from 100% to 0%
and back.

Change-Id: I1989192161ed6f6d5aafb5399658114a2f60bd97
Reviewed-on: https://gerrit.chromium.org/gerrit/43307
Reviewed-by: Todd Broch <tbroch@chromium.org>
Reviewed-by: Sean Paul <seanpaul@chromium.org>
Commit-Queue: Vincent Palatin <vpalatin@chromium.org>
Tested-by: Vincent Palatin <vpalatin@chromium.org>
drivers/auxdisplay/ps8622.c