ARM: imx: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 10 Mar 2023 14:46:55 +0000 (08:46 -0600)
committerShawn Guo <shawnguo@kernel.org>
Tue, 14 Mar 2023 07:06:00 +0000 (15:06 +0800)
commit614bef7e2727f35ff7edb7f41354e4e5c655590c
tree5330d2b99692c3fe80cb6183ab9e40ffd94e70d0
parent70dc8a098cddc5d5b5a5d9a6e7e4887c8e0575c6
ARM: imx: 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: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/gpc.c