diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 08:47:13 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 15:23:29 +0100 |
commit | 536e2fce8980c84247ee52e737d24bd1ffdb0d7f (patch) | |
tree | ff00b57fc5595ba132096cf3019c0745abe6f9ec /Documentation/netlink/specs/fou.yaml | |
parent | d7d744abc08f008f105dc7fc59805de6beeb8ec8 (diff) |
misc: lis3lv02d: Use of_property_read_bool() for boolean properties
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@kernel.org>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20230310144713.1543683-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/netlink/specs/fou.yaml')
0 files changed, 0 insertions, 0 deletions