drivers: battery_v2: fix misleading intendation
authorAnan Jaser <ananjaser@gmail.com>
Tue, 22 Sep 2020 22:55:28 +0000 (02:55 +0400)
committerivanmeler <i_ivan@windowslive.com>
Wed, 13 Apr 2022 21:14:03 +0000 (21:14 +0000)
Change-Id: I2a37344987cbef9496b48ff1d1a8d9f0dc913f3e

drivers/battery_v2/sec_battery.c

index 8af67d97cead2c7152b00a5433fbf6d25c55c1cc..08654832d00499fb78b10e18a923c364d294d02c 100755 (executable)
@@ -5950,7 +5950,7 @@ ssize_t sec_bat_store_attrs(
                                        &temp_data[69], &temp_data[70], &temp_data[71],
                                        &temp_data[72], &temp_data[73], &temp_data[74],
                                        &temp_data[75], &temp_data[76]) <= CISD_DATA_MAX_PER_DAY) {
-                                       for (i = 0; i < CISD_DATA_MAX_PER_DAY; i++)
+                                               for (i = 0; i < CISD_DATA_MAX_PER_DAY; i++)
                                                pcisd->data[i] = 0;
                                                pcisd->data[CISD_DATA_ALG_INDEX] = battery->pdata->cisd_alg_index;
                                                pcisd->data[CISD_DATA_FULL_COUNT] = temp_data[0];
@@ -5977,7 +5977,7 @@ ssize_t sec_bat_store_attrs(
                                                pcisd->data[CISD_DATA_VBAT_OVP] = temp_data[37];
                                                pcisd->data[CISD_DATA_AFC_FAIL] = temp_data[39];
                                                pcisd->data[CISD_DATA_WATER_DETECT] = temp_data[38];
-                               }
+                                       }
                        } else {
                                const char *p = buf;