diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 08:47:12 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-03-17 15:23:25 +0100 |
commit | d7d744abc08f008f105dc7fc59805de6beeb8ec8 (patch) | |
tree | 8a132da4d1302eac11c43abc74c8bddec955409a /drivers/nfc/fdp | |
parent | c2c99326cc0176cbc3e7c11e97db11ca56077d10 (diff) |
misc/sram: 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.1543544-1-robh@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/nfc/fdp')
0 files changed, 0 insertions, 0 deletions