Re: [PATCH v4 1/4] leds: Add of_led_get() and led_put()

2019-07-30 Thread Pavel Machek
On Wed 2019-07-17 16:15:11, Jean-Jacques Hiblot wrote: > From: Tomi Valkeinen > > This patch adds basic support for a kernel driver to get a LED device. > This will be used by the led-backlight driver. > > Only OF version is implemented for now, and the behavior is similar to > PWM's of_pwm_get(

[PATCH v4 1/4] leds: Add of_led_get() and led_put()

2019-07-17 Thread Jean-Jacques Hiblot
From: Tomi Valkeinen This patch adds basic support for a kernel driver to get a LED device. This will be used by the led-backlight driver. Only OF version is implemented for now, and the behavior is similar to PWM's of_pwm_get() and pwm_put(). Signed-off-by: Tomi Valkeinen Signed-off-by: Jean-