diff options
Diffstat (limited to 'drivers/leds')
-rw-r--r-- | drivers/leds/blink/leds-lgm-sso.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/leds/blink/leds-lgm-sso.c b/drivers/leds/blink/leds-lgm-sso.c index 0b5e19904fa4..885e1277cbbd 100644 --- a/drivers/leds/blink/leds-lgm-sso.c +++ b/drivers/leds/blink/leds-lgm-sso.c @@ -258,7 +258,7 @@ static void sso_led_brightness_set(struct led_classdev *led_cdev, 1 << desc->pin); } - if (!desc->hw_trig && led->gpiod) + if (!desc->hw_trig) gpiod_set_value(led->gpiod, val); } |