Merge "power: qpnp-fg-gen4: Fix uninitialized usage of local variables"

This commit is contained in:
qctecmdr 2020-09-22 03:50:30 -07:00 committed by Gerrit - the friendly Code Review server
commit 2d86544c4c

View File

@ -1464,7 +1464,7 @@ static int fg_gen4_adjust_ki_coeff_full_soc(struct fg_gen4_chip *chip,
int batt_temp)
{
struct fg_dev *fg = &chip->fg;
int rc, ki_coeff_full_soc_norm, ki_coeff_full_soc_low;
int rc, ki_coeff_full_soc_norm = 0, ki_coeff_full_soc_low = 0;
u8 val;
if ((batt_temp < 0) ||