Re: [PATCH] misc: lis3lv02d: Use of_property_read_bool() for boolean properties

From: Arnd Bergmann
Date: Sat Mar 11 2023 - 05:02:14 EST


On Fri, Mar 10, 2023, at 15:47, Rob Herring wrote:
> It is preferred to use typed property access functions (i.e.
> of_property_read_<type> functions) rather than low-level
> of_get_property/of_find_property functions for reading properties.
> Convert reading boolean properties to to of_property_read_bool().
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>

Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>