# Re: \[RFC 1/4\] backlight: gpio\_backlight: use generic device properties

- From: Linus Walleij \<hidden\>
- Date: 2018-03-27 11:53:28 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2018/03/5244048
- Thread: https://ratatoskr.run/linux-fbdev/2018/03/5237933/t.md

```text
On Thu, Mar 15, 2018 at 11:41 PM, Dmitry Torokhov
[ref] 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 <dmitry.torokhov@gmail.com>

Looks good to me.
Reviewed-by: Linus Walleij <redacted>

Yours,
Linus Walleij
```
