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

Commit 3c7c65ab authored by Maria Yu's avatar Maria Yu
Browse files

regulator: cpr4: fix compilation warning



Fix a compilation warning for an uninitialized variable
by passing NULL value.

Change-Id: I73d31acb486249ff425ea9f4ed1c096415c534da
Signed-off-by: default avatarMaria Yu <aiquny@codeaurora.org>
parent e7325167
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1246,7 +1246,7 @@ static int cpr4_apss_init_regulator(struct cpr3_regulator *vreg)
static int cpr4_apss_init_aging(struct cpr3_controller *ctrl)
{
	struct cpr4_msm8953_apss_fuses *fuse = NULL;
	struct cpr3_regulator *vreg;
	struct cpr3_regulator *vreg = NULL;
	u32 aging_ro_scale;
	int i, j, rc;