summaryrefslogtreecommitdiff
path: root/drivers/of
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-02-09 15:35:01 -0600
committerRob Herring <robh@kernel.org>2023-02-17 15:21:36 -0600
commit9cbad37ce8122de32a1529e394b468bc101c9e7f (patch)
tree94fc6ca764f8bad678effb864a5a3f5c11d3845b /drivers/of
parent6ee7afbabcee4d54024c46f8fc74314c69a04613 (diff)
of: Add of_property_present() helper
Add an of_property_present() function similar to fwnode_property_present(). of_property_read_bool() could be used directly, but it is cleaner to not use it on non-boolean properties. Reviewed-by: Frank Rowand <frowand.list@gmail.com> Tested-by: Frank Rowand <frowand.list@gmail.com> Link: https://lore.kernel.org/all/20230215215547.691573-1-robh@kernel.org/ Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'drivers/of')
0 files changed, 0 insertions, 0 deletions