summaryrefslogtreecommitdiff
path: root/drivers/staging/olpc_dcon/olpc_dcon.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@queued.net>2010-09-25 06:50:16 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-09-30 01:03:28 (GMT)
commit233aa49b8c1cb9276ca4316c61e324f697a19ce2 (patch)
tree65de17b36ee464f70f43ff9301c5b482a33fedb0 /drivers/staging/olpc_dcon/olpc_dcon.c
parent8ae48363ee2134141c0c661a57be213fc5d98cee (diff)
downloadlinux-fsl-qoriq-233aa49b8c1cb9276ca4316c61e324f697a19ce2.tar.xz
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>
Diffstat (limited to 'drivers/staging/olpc_dcon/olpc_dcon.c')
-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 808273d..287085f 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)