diff options
author | Rob Herring <[email protected]> | 2023-03-10 08:47:06 -0600 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-04-19 07:08:31 -0700 |
commit | 914b2fd2cd928f1eccd753e30707800b53acbeec (patch) | |
tree | d66e595ada36fc96d3fea91b286cc9122c05bcbf /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 50c3480b6db859ce2c5f524eedb74973342455d0 (diff) |
hwmon: (ibmpowernv, pwm-fan) 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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions