diff options
author | Rob Herring <robh@kernel.org> | 2023-02-10 00:35:01 +0300 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2023-02-18 00:21:36 +0300 |
commit | 9cbad37ce8122de32a1529e394b468bc101c9e7f (patch) | |
tree | 94fc6ca764f8bad678effb864a5a3f5c11d3845b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6ee7afbabcee4d54024c46f8fc74314c69a04613 (diff) | |
download | linux-9cbad37ce8122de32a1529e394b468bc101c9e7f.tar.xz |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions