diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 17:47:29 +0300 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-03-16 18:18:17 +0300 |
commit | 29413f05fe34e8824551b91f660fde781249417d (patch) | |
tree | d962adccfeb56bb95db48231d559fbb3f83ddf21 /lib/error-inject.c | |
parent | 44a3b36b42acfc433aaaf526191dd12fbb919fdb (diff) | |
download | linux-29413f05fe34e8824551b91f660fde781249417d.tar.xz |
fbdev: 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: Helge Deller <deller@gmx.de>
Diffstat (limited to 'lib/error-inject.c')
0 files changed, 0 insertions, 0 deletions