Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 233aa49b authored by Andres Salomon's avatar Andres Salomon Committed by Greg Kroah-Hartman
Browse files

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: default avatarAndres Salomon <dilinger@queued.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 8ae48363
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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)