]> www.infradead.org Git - users/jedix/linux-maple.git/commit
of/platform: Use typed accessors rather than of_get_property()
authorRob Herring (Arm) <robh@kernel.org>
Wed, 12 Mar 2025 21:29:36 +0000 (16:29 -0500)
committerRob Herring (Arm) <robh@kernel.org>
Fri, 14 Mar 2025 23:01:42 +0000 (18:01 -0500)
commit3367838f5549d48172bce068ee958f715ae80428
tree33e96fc8ae7934e601dd893a3da8b613f460c241
parent10e616828af2b7b259a8708302b5a07d1678cd9a
of/platform: Use typed accessors rather than of_get_property()

Use the typed of_property_* functions rather than of_get_property()
which leaks pointers to DT data without any control of the lifetime.

Signed-off-by: "Rob Herring (Arm)" <robh@kernel.org>
Link: https://lore.kernel.org/r/20250312212937.1067088-1-robh@kernel.org
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
drivers/of/platform.c