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

Commit 642188df authored by Kiran Gunda's avatar Kiran Gunda
Browse files

qcom: smb1351: Fix compilation warning



Fix the warning due to the usage of uninitialized variable.

Change-Id: Ie5c248ae745225c4d5814dcecc41a3df8d3ab371
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 7e3149cb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2212,7 +2212,7 @@ static int smb1351_usbin_uv_handler(struct smb1351_charger *chip, u8 status)
static int smb1351_usbin_ov_handler(struct smb1351_charger *chip, u8 status)
{
	int rc;
	u8 reg;
	u8 reg = 0;
	union power_supply_propval pval = {0, };

	rc = smb1351_read_reg(chip, IRQ_E_REG, &reg);