Commit c38f9188 authored by Guido Gunther's avatar Guido Gunther
Browse files

leds: lm3692x: Drop led current hack

The previous patch introduced a proper calcultion from DT.

Partially reverts 9aef2ef5

.
The rest was already reverted when switching to DT parsing
for OVP.
Signed-off-by: Guido Gunther's avatarGuido Günther <guido.gunther@puri.sm>
parent 1f762515
......@@ -343,11 +343,6 @@ static int lm3692x_brightness_set(struct led_classdev *led_cdev,
goto out;
}
if (brt_val > 0xcc) { /* l5 */
brt_val = 0xcc;
led_brightness_lsb = 0x04;
}
ret = regmap_write(led->regmap, LM3692X_BRT_MSB, brt_val);
if (ret) {
dev_err(&led->client->dev, "Cannot write MSB: %d\n", ret);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment