Skip to content

Commit

Permalink
staging: olpc_dcon: remove outdated backlight comment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andres Salomon authored and Greg Kroah-Hartman committed Sep 30, 2010
1 parent 8ae4836 commit 233aa49
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/staging/olpc_dcon/olpc_dcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,6 @@ static int dcon_bus_stabilize(struct i2c_client *client, int is_powered_down)
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)
Expand Down

0 comments on commit 233aa49

Please sign in to comment.