summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-03-10 17:47:08 +0300
committerGeorgi Djakov <djakov@kernel.org>2023-03-20 17:42:27 +0300
commit213913ff2b89ab5ba76aceba24198b217e8e325c (patch)
tree639b85df84478519153afef796e687dc6b7465dc /include/linux
parentf730038fe6a6de170268fd779b2c029aa70a928b (diff)
downloadlinux-213913ff2b89ab5ba76aceba24198b217e8e325c.tar.xz
interconnect: 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/20230310144709.1542841-1-robh@kernel.org Signed-off-by: Georgi Djakov <djakov@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions