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

Skip to content
Commit 65fdb6e2 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

leds: qpnp-flash-v2: Return zero when parsing optional DT parameters fails



While parsing optional DT properties in the helper functions,
return 0 at the end of the function to ensure that there is not
an actual error.

While at it, print rc value when qpnp_flash_led_parse_common_dt()
fails.

Change-Id: I8f5ffddcd7794e667a7e860abd1b2bbc5b7b05dc
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent e76a4c58
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