summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2010-09-25 08:50:16 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-30 03:03:28 +0200
commit233aa49b8c1cb9276ca4316c61e324f697a19ce2 (patch)
tree65de17b36ee464f70f43ff9301c5b482a33fedb0
parentstaging: olpc_dcon: add TODO file (diff)
downloadlinux-233aa49b8c1cb9276ca4316c61e324f697a19ce2.tar.xz
linux-233aa49b8c1cb9276ca4316c61e324f697a19ce2.zip
staging: olpc_dcon: remove outdated backlight comment
This comment about killing power to the backlight is ancient, and incorrect (the code that follows actually does the opposite of what the comment says). This was due to hardware changes; the comment was for the original OLPC GX2 boards, but when the OLPC LX boards came out, the code was updated for that hardware. Signed-off-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/staging/olpc_dcon/olpc_dcon.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/staging/olpc_dcon/olpc_dcon.c b/drivers/staging/olpc_dcon/olpc_dcon.c
index 808273db773c..287085f32bf0 100644
--- a/drivers/staging/olpc_dcon/olpc_dcon.c
+++ b/drivers/staging/olpc_dcon/olpc_dcon.c
@@ -214,12 +214,6 @@ power_up:
return 0;
}
-
-/* Backlight notes - turning off the backlight enable bit in the DCON
- * doesn't save us any power over just pushing the BL to zero, so we
- * don't use that bit in this code.
- */
-
static int dcon_get_backlight(void)
{
if (dcon_client == NULL)