diff options
| author | Rob Herring (Arm) <[email protected]> | 2024-07-31 20:16:08 +0000 |
|---|---|---|
| committer | Jassi Brar <[email protected]> | 2024-09-23 00:19:17 +0000 |
| commit | 263dbd3cc88da7ea7413494eea66418b4f1b2e6d (patch) | |
| tree | 321ba34a40c2c64c57c2faa0113daecb283d1310 /drivers/pci/controller/dwc/pci-keystone.c | |
| parent | mailbox: bcm2835: Fix timeout during suspend mode (diff) | |
| download | kernel-263dbd3cc88da7ea7413494eea66418b4f1b2e6d.tar.gz kernel-263dbd3cc88da7ea7413494eea66418b4f1b2e6d.zip | |
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) <[email protected]>
Signed-off-by: Jassi Brar <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-keystone.c')
0 files changed, 0 insertions, 0 deletions
