Re: [PATCH v10 1/6] leds: populate the device's of_node

2019-10-09 Thread Tomi Valkeinen
Hi JJ, On 09/10/2019 11:51, Jean-Jacques Hiblot wrote: If initialization data is available and its fwnode is actually a of_node, store this information in the led device's structure. This will allow the device to use or provide OF-based API such (devm_xxx). Signed-off-by: Jean-Jacques Hiblot -

[PATCH v10 1/6] leds: populate the device's of_node

2019-10-09 Thread Jean-Jacques Hiblot
If initialization data is available and its fwnode is actually a of_node, store this information in the led device's structure. This will allow the device to use or provide OF-based API such (devm_xxx). Signed-off-by: Jean-Jacques Hiblot --- drivers/leds/led-class.c | 4 +++- 1 file changed, 3 i