Re: [PATCH] firmware: Use of_property_present() for testing DT property presence
From: Thierry Reding
Date: Tue Apr 04 2023 - 15:53:40 EST
From: Thierry Reding <treding@xxxxxxxxxx>
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@xxxxxxxxxx>