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

Skip to content
Commit 2049c030 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

regulator: qpnp-amoled: Fix uninitialized variable warning



Variable 'rc' is used without being initialized. Fix it by
initializing it. While at it, return 'rc' instead of '0' at
the end of the function.

Change-Id: I33e33a4fff9c9d63d2c20de5971fbb417e01433c
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent ba3a7712
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