Re: [PATCH v8 1/5] leds: populate the device's of_node when possible

2019-10-04 Thread Jacek Anaszewski
Hi Jean, On 10/3/19 10:28 AM, 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

[PATCH v8 1/5] leds: populate the device's of_node when possible

2019-10-03 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 | 5 - 1 file changed, 4