aboutsummaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2023-03-10 08:47:35 -0600
committerBjorn Andersson <[email protected]>2023-04-18 18:56:51 -0700
commit1f6fa392a9942e4a2bd3122913baeb33e987ccd9 (patch)
treeb6cb32039b858e712b08c5afcfd9a607717e1e71 /tools/testing
parent82f2734d99d7e6a2327ff4e2122dd0db425b598f (diff)
remoteproc: st: 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: Mathieu Poirier <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions