led: core: Fix brightness setting when setting delay_off=0

[ Upstream commit 2b83ff96f5 ]

With the current code, the following sequence won't work :
echo timer > trigger

echo 0 >  delay_off
* at this point we call
** led_delay_off_store
** led_blink_set
This commit is contained in:
Matthieu CASTET 2017-12-12 11:10:44 +01:00 • committed by Greg Kroah-Hartman
commit c2acc88591