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

Commit e4addecb authored by Hui Liu's avatar Hui Liu
Browse files

leds: qti-tri-led: remove LED_KEEP_TRIGGER flag



Remove LED_KEEP_TRIGGER flag as it's not necessary for
notification LEDs.

Change-Id: If2d34ec1d4e0b40d5bba593cccff17d58a7c80c4
Signed-off-by: default avatarHui Liu <quic_huliu@quicinc.com>
parent 2753cc58
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -411,7 +411,6 @@ static int qpnp_tri_led_register(struct qpnp_tri_led_chip *chip)
		led->cdev.blink_set = qpnp_tri_led_set_blink;
		led->cdev.default_trigger = led->default_trigger;
		led->cdev.brightness = LED_OFF;
		led->cdev.flags |= LED_KEEP_TRIGGER;

		rc = devm_led_classdev_register(chip->dev, &led->cdev);
		if (rc < 0) {