diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 15:47:36 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-04-21 16:20:56 +0200 |
commit | 6da07bdda1a4da07a8f1b6316e331974d6b6eef8 (patch) | |
tree | 21890252ae061570ac17ce77f47c8d40c9196e55 /fs/afs/protocol_yfs.h | |
parent | virt: fsl: Use of_property_present() for testing DT property presence (diff) | |
download | linux-6da07bdda1a4da07a8f1b6316e331974d6b6eef8.tar.xz linux-6da07bdda1a4da07a8f1b6316e331974d6b6eef8.zip |
w1: w1-gpio: 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().
Link: https://lore.kernel.org/r/20230310144737.1547200-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'fs/afs/protocol_yfs.h')
0 files changed, 0 insertions, 0 deletions