led: trigger: Turn of flashing leds only once
The current code continuously turns leds off. Preserve the current
led status so that we only turn it off once.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent b63faaa commit 42327b23a77af50450fd61a9018eee4613c60dac
@Sascha Hauer Sascha Hauer authored on 7 Oct 2014
Showing 1 changed file
View
drivers/led/led-triggers.c