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

Skip to content
Commit 4ca937ad authored by David Collins's avatar David Collins
Browse files

regulator: tps65132-regulator: fix of_property_read_bool() usage



The function of_property_read_bool() is used in the
tps65132-regulator driver to test for the existence of
non-boolean device tree property i2c-pwr-supply.  This call will
work as expected; however, of_property_read_bool() is only meant
to be used for reading boolean device tree properties.

Replace this usage of of_property_read_bool() with
of_find_property().

Change-Id: I7f206d18db29899e04effea4a63c60f9ee5c1937
Signed-off-by: default avatarDavid Collins <collinsd@codeaurora.org>
parent 589cf939
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