diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 17:47:34 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2023-03-13 13:38:59 +0300 |
commit | b7405e3f62d68be4cc5f4677499e1b8c13a0d216 (patch) | |
tree | a84b9d3ec4395c465ad671b477d8a536db47f45e /tools/perf/scripts/python/stackcollapse.py | |
parent | f9d0393a8898d0bc67730ac736ad9c6f51434463 (diff) | |
download | linux-b7405e3f62d68be4cc5f4677499e1b8c13a0d216.tar.xz |
PM / devfreq: exynos: Use of_property_present() for testing DT property presence
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. As
part of this, convert of_get_property/of_find_property calls to the
recently added of_property_present() helper when we just want to test
for presence of a property and nothing more.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions