Re: [RFC 1/4] backlight: gpio_backlight: use generic device properties

2018-03-27 Thread Linus Walleij
On Thu, Mar 15, 2018 at 11:41 PM, Dmitry Torokhov wrote: > Instead of using of_property_read_bool() switch to using > device_property_read_bool() This will allow switching from platform data to > device properties everywhere. > > Signed-off-by: Dmitry Torokhov Looks good to me. Reviewed-by: Lin

[RFC 1/4] backlight: gpio_backlight: use generic device properties

2018-03-15 Thread Dmitry Torokhov
Instead of using of_property_read_bool() switch to using device_property_read_bool() This will allow switching from platform data to device properties everywhere. Signed-off-by: Dmitry Torokhov --- drivers/video/backlight/gpio_backlight.c | 12 ++-- 1 file changed, 2 insertions(+), 10 de