Rob Herring 9195ee1a1f PCI: Use of_property_present() for testing DT property presence
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.

Link: https://lore.kernel.org/r/20230310144719.1544443-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>  # pcie-mediatek
2023-04-18 16:01:37 -05:00
..
2021-03-11 17:37:20 -06:00
2021-04-16 14:32:18 -05:00
2019-08-30 14:00:34 -05:00
2020-10-22 12:41:00 -07:00
2022-04-05 11:13:33 -05:00
2018-09-18 17:52:15 -05:00
2020-10-22 12:41:00 -07:00