diff options
| author | Rob Herring <[email protected]> | 2023-03-10 08:47:11 -0600 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2023-04-11 18:54:01 +0200 |
| commit | 0f4afd529224aec36cc6d01d08ac7d5e92fb217c (patch) | |
| tree | 31d0e4db10d618d1829db582fe81acc6f675cc60 /tools/perf/scripts/python | |
| parent | 567f97bd381fd79fa8563808118fc757cb6fa4ff (diff) | |
media: 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]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions