longan/kernel/linux-4.9/drivers/leds/leds-gpio.c | ●●●●● patch | view | raw | blame | history |
longan/kernel/linux-4.9/drivers/leds/leds-gpio.c
.. .. @@ -188,7 +188,8 @@ 188 188 return ERR_PTR(-EINVAL); 189 189 } 190 190 191 - fwnode_property_read_string(child, "linux,default-trigger",191 + //fwnode_property_read_string(child, "linux,default-trigger",192 + fwnode_property_read_string(child, "linux,default_trigger",192 193 &led.default_trigger); 193 194 194 195 if (!fwnode_property_read_string(child, "default-state",