[PATCH] memory: atmel-ebi: Use of_property_present() for testing DT property presence

Krzysztof Kozlowski krzysztof.kozlowski at linaro.org
Sun Mar 12 23:54:22 PDT 2023


On Fri, 10 Mar 2023 08:47:11 -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] memory: atmel-ebi: Use of_property_present() for testing DT property presence
      https://git.kernel.org/krzk/linux-mem-ctrl/c/538c7b5b5d8b5364454494e5fe4125b0b47195f1

Best regards,
-- 
Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>



More information about the linux-arm-kernel mailing list