On 06/22/2015 08:08 PM, Dmitry Torokhov wrote: [...]
+ + for_each_child_of_node(node, child) { + led->cdev.name = + of_get_property(child, "label", NULL) ? : child->name; + led->cdev.default_trigger = + of_get_property(child, "linux,default-trigger", NULL);Hmm, we do not have standard LEDs fwnode parser? Maybe we should have one.
We don't have one. That's something to be added. -- Best Regards, Jacek Anaszewski -- To unsubscribe from this list: send the line "unsubscribe devicetree" in