mips: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 10 Mar 2023 14:46:56 +0000 (08:46 -0600)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 14 Mar 2023 16:16:46 +0000 (17:16 +0100)
commit9c99b4880d178a3cc6f42634b995d526a86f746b
treec5f800172ecbca4b102959f3207c07e9d207f435
parent83552892b772dfc4639a4f2da075bbb5d605b788
mips: Use of_property_read_bool() for boolean properties

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.
Convert reading boolean properties to to of_property_read_bool().

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/pci/pci-lantiq.c
arch/mips/pci/pci-rt3883.c