diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 08:47:15 -0600 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2023-03-22 17:02:17 +0100 |
commit | 57150c40b6391bc350c6016641b2a487a3de3cba (patch) | |
tree | c903efd337f06e4d99d835fb126c7e5ff8fd4275 /Documentation/target | |
parent | 75f32f4b9d5263829d1d13f990000db929140559 (diff) |
mtd: 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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230310144716.1543995-1-robh@kernel.org
Diffstat (limited to 'Documentation/target')
0 files changed, 0 insertions, 0 deletions