PCI: iproc: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 9 Jun 2023 19:33:25 +0000 (13:33 -0600)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Thu, 13 Jul 2023 18:09:24 +0000 (18:09 +0000)
commit8f1c517ccd378a41b8c4ac951b6793ad693dbfbc
tree9d1c2aedbf762652b164217ba42bfd307094b7f9
parent06c2afb862f9da8dc5efa4b6076a0e48c3fbaaa5
PCI: iproc: Use of_property_read_bool() for boolean properties

Replace low-level property access functions like of_get_property() and
of_find_property() with their typed equivalents (i.e., of_property_read_<type>
functions), as it's preferred to use typed property access functions for
reading properties.

[kwilczynski: commit log]
Link: https://lore.kernel.org/linux-pci/20230609193326.1963542-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Acked-by: Ray Jui <ray.jui@broadcom.com>
drivers/pci/controller/pcie-iproc-msi.c