diff options
author | Rob Herring (Arm) <robh@kernel.org> | 2024-07-31 13:12:49 -0600 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2024-09-05 01:23:56 +0900 |
commit | d47552124bb0b9527da7a95357ae7d2e6046c4f6 (patch) | |
tree | 31a19a8d25fb6f5780054d2db091d3c6be912d04 /fs | |
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/20240731191312.1710417-11-robh@kernel.org/
Acked-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions