diff options
author | Rob Herring (Arm) <[email protected]> | 2024-07-31 13:12:49 -0600 |
---|---|---|
committer | Chanwoo Choi <[email protected]> | 2024-09-05 01:23:56 +0900 |
commit | d47552124bb0b9527da7a95357ae7d2e6046c4f6 (patch) | |
tree | 31a19a8d25fb6f5780054d2db091d3c6be912d04 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 629277b7f575792ad24cc5fd8e708aaea2a5584c (diff) |
PM / devfreq: imx-bus: Use of_property_present()
Use of_property_present() to test for property presence rather than
of_get_property(). This is part of a larger effort to remove callers
of of_get_property() and similar functions. of_get_property() leaks
the DT property data pointer which is a problem for dynamically
allocated nodes which may be freed.
Link: https://lore.kernel.org/lkml/[email protected]/
Acked-by: Peng Fan <[email protected]>
Signed-off-by: Rob Herring (Arm) <[email protected]>
Signed-off-by: Chanwoo Choi <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions