diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 23:16:08 +0300 |
---|---|---|
committer | Jassi Brar <jassisinghbrar@gmail.com> | 2024-09-23 03:19:17 +0300 |
commit | 263dbd3cc88da7ea7413494eea66418b4f1b2e6d (patch) | |
tree | 321ba34a40c2c64c57c2faa0113daecb283d1310 /Documentation/devicetree | |
parent | dc09f007caed3b2f6a3b6bd7e13777557ae22bfd (diff) | |
download | linux-263dbd3cc88da7ea7413494eea66418b4f1b2e6d.tar.xz |
mailbox: Use of_property_match_string() instead of open-coding
Use of_property_match_string() instead of open-coding the search. With
this, of_get_property() can be removed as there is no need to check for
"mbox-names" presence first.
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.
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions