Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 589cf939 authored by David Collins's avatar David Collins
Browse files

regulator: proxy-consumer: fix of_property_read_bool() usage



The function of_property_read_bool() is used in the
proxy-consumer driver to test for the existence of non-boolean
device tree properties qcom,proxy-consumer-voltage and
qcom,proxy-consumer-current.  These calls will work as expected;
however, of_property_read_bool() is only meant to be used for
reading boolean device tree properties.

Replace all usages of of_property_read_bool() which test for
non-boolean property existence with of_find_property().

Change-Id: I83a718d05f5495f514d6a70004fcb5a2780d45c0
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent ed37f851
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment