ARM: OMAP2+: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 10 Mar 2023 14:46:55 +0000 (08:46 -0600)
committerTony Lindgren <tony@atomide.com>
Mon, 27 Mar 2023 08:05:57 +0000 (11:05 +0300)
commitd26f05931fb7bcfbd0f64acc692c606fd76bbb3a
treeb8da20b62a7447d57cf12ac94287c5f9208ac976
parentfe15c26ee26efa11741a7b632e9f23b01aca4cc6
ARM: OMAP2+: 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>
Message-Id: <20230310144655.1540793-1-robh@kernel.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap_hwmod.c