mailbox: Use of_property_read_bool() for boolean properties
authorRob Herring <robh@kernel.org>
Fri, 10 Mar 2023 14:47:10 +0000 (08:47 -0600)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 18 Apr 2023 16:50:56 +0000 (11:50 -0500)
commit2a61e7b7bd92f4745457c60c86d8bf045d185bda
tree8b4aaf75827b90874e8bf33ae1763d7b272d8db4
parent76d4adacd52e78bea2e393081f2a5766261d1e3a
mailbox: 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: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/hi6220-mailbox.c
drivers/mailbox/omap-mailbox.c