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:
parent
99fdd93a6d
commit
4a97bc2143
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue