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

Skip to content
Commit 92771ee9 authored by Zhenhua Huang's avatar Zhenhua Huang
Browse files

power: smb358-charger: Fix an uninitialized variable issue



Uninitialized cfg structure may cause random crash when calling
regulator_register() function. Fix this by initializing it to 0
by default.

While at it, fix another minor typo issue.

Change-Id: I0b96fd8f47091adacf1d3cd5d159509060a1a516
Signed-off-by: default avatarZhenhua Huang <zhenhuah@codeaurora.org>
parent d3b0eac5
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