diff options
author | Rob Herring <robh@kernel.org> | 2023-03-10 20:26:21 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2023-03-17 04:17:30 -0700 |
commit | eaedf192f65fc4e3e2001b8e09940386cc494bd5 (patch) | |
tree | bbf96fa35bad90f2508f5c59bc316ee731d5c923 /ipc/shm.c | |
parent | 12c7d0aeb3beecc8b8f570d82c4d8509def71a6e (diff) |
Input: zinitix - 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>
Link: https://lore.kernel.org/r/20230310144708.1542682-1-robh@kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions