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

Commit c84b1079 authored by Kiran Gunda's avatar Kiran Gunda
Browse files

pwm: pwm-qpnp: Fix the uninitialized local variable



"pwm_change_mode" returns the garbage value as the local variable
"rc" is returned without being initialized and updated. Fix it by
initializing the "rc" to "0".

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