gryphon-led-module: avoid turn off the led in module probe

This commit is contained in:
Oussama Ghorbel 2019-04-26 17:36:34 +02:00
parent b9057e4503
commit 9cfe56a4dd

View file

@ -192,9 +192,9 @@ static int canyon_led_probe(struct platform_device *pdev)
sk9822_set_color_str(leds, "00FF00"); sk9822_set_color_str(leds, "00FF00");
sk9822_update(leds); sk9822_update(leds);
msleep(200); msleep(200);
#endif
sk9822_set_color_str(leds, "000000"); sk9822_set_color_str(leds, "000000");
sk9822_update(leds); sk9822_update(leds);
#endif
printk(KERN_INFO "canyon led successfully probed\n"); printk(KERN_INFO "canyon led successfully probed\n");