aboutsummaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorRob Herring (Arm) <robh@kernel.org>2024-07-31 13:12:49 -0600
committerChanwoo Choi <cw00.choi@samsung.com>2024-09-05 01:23:56 +0900
commitd47552124bb0b9527da7a95357ae7d2e6046c4f6 (patch)
tree31a19a8d25fb6f5780054d2db091d3c6be912d04 /mm
parent629277b7f575792ad24cc5fd8e708aaea2a5584c (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 'mm')
0 files changed, 0 insertions, 0 deletions