[PATCH] firmware: Use of_property_present() for testing DT property presence
Thierry Reding
thierry.reding at gmail.com
Tue Apr 4 12:53:25 PDT 2023
From: Thierry Reding <treding at nvidia.com>
On Fri, 10 Mar 2023 08:47:04 -0600, Rob Herring wrote:
> It is preferred to use typed property access functions (i.e.
> of_property_read_<type> functions) rather than low-level
> of_get_property/of_find_property functions for reading properties. As
> part of this, convert of_get_property/of_find_property calls to the
> recently added of_property_present() helper when we just want to test
> for presence of a property and nothing more.
>
> [...]
Applied, thanks!
[1/1] firmware: Use of_property_present() for testing DT property presence
commit: 8c47b8253f4cfd8b4dbda8c9adc1d0b1d7f3009d
Best regards,
--
Thierry Reding <treding at nvidia.com>
More information about the linux-arm-kernel
mailing list