leds: disable triggers on brightness set

Disable any active triggers when the brightness attribute is
set to zero.

Signed-off-by: Henrique de Moraes Holschuh <[email protected]>
Signed-off-by: Márton Németh <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
5 files changed