clk: microchip: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 10 Mar 2023 14:47:01 +0000 (08:47 -0600)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Mon, 22 May 2023 08:57:31 +0000 (11:57 +0300)
commita31988510689e6116921d6c67521c6cf472737f6
tree64c27f3628fe87cbfbdb8bbcaba1cc9193c450ee
parentf3e788d9ec71c4efbe220fe2ca46368602b698f6
clk: microchip: 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: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230310144701.1541573-1-robh@kernel.org
drivers/clk/microchip/clk-pic32mzda.c