drm: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 10 Mar 2023 14:47:05 +0000 (08:47 -0600)
committerRob Herring <robh@kernel.org>
Thu, 30 Mar 2023 18:46:07 +0000 (13:46 -0500)
commite27a85c1757655e2e7bd09164b87bf75627e5604
treee7a067bc36488b2620e0f0d7d5371bdadff2920b
parentb2d2d8decc8d239875420af6e412158ac5a2cb1f
drm: 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 of_property_read_bool().

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20230310144706.1542295-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/gpu/drm/bridge/parade-ps8622.c
drivers/gpu/drm/tiny/ofdrm.c