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

Skip to content
Commit 78107b49 authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
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 497e1f66
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