summaryrefslogtreecommitdiff
path: root/drivers/misc/qcom-coincell.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/misc/qcom-coincell.c')
-rw-r--r--drivers/misc/qcom-coincell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/misc/qcom-coincell.c b/drivers/misc/qcom-coincell.c
index 7b4a2da48..829a61dbd 100644
--- a/drivers/misc/qcom-coincell.c
+++ b/drivers/misc/qcom-coincell.c
@@ -94,7 +94,8 @@ static int qcom_coincell_probe(struct platform_device *pdev)
{
struct device_node *node = pdev->dev.of_node;
struct qcom_coincell chgr;
- u32 rset, vset;
+ u32 rset = 0;
+ u32 vset = 0;
bool enable;
int rc;