[PATCH 2/2] staging: olpc_dcon: remove outdated backlight comment

Andres Salomon dilinger at queued.net
Sat Sep 25 06:50:16 UTC 2010


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 at queued.net>
---
 drivers/staging/olpc_dcon/olpc_dcon.c |    6 ------
 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)
-- 
1.5.6.5





More information about the devel mailing list