From: Andres Salomon Date: Sat, 25 Sep 2010 06:50:16 +0000 (-0700) Subject: staging: olpc_dcon: remove outdated backlight comment X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=233aa49b8c1cb9276ca4316c61e324f697a19ce2;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Greg Kroah-Hartman --- 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)