soc: qcom: spm: Fix uninitialized variable warning

Initialize local variable to 0 to fix uninitialized variable warning.

Change-Id: I8aa718e0656e2c89280292219400df8eae20ba7e
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
This commit is contained in:
Mahesh Sivasubramanian 2016-01-08 16:16:40 -07:00 committed by Rohit Vaswani
parent 99fdd93a6d
commit 4a97bc2143

View file

@ -238,7 +238,7 @@ static int msm_spm_dev_set_low_power_mode(struct msm_spm_device *dev,
{
uint32_t i;
int ret = -EINVAL;
uint32_t ctl;
uint32_t ctl = 0;
if (!dev) {
pr_err("dev is NULL\n");