power: supply: ab8500_fg: convert comma to semicolon
authorZheng Yongjun <zhengyongjun3@huawei.com>
Mon, 14 Dec 2020 13:40:00 +0000 (21:40 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 16 Jan 2021 11:38:22 +0000 (12:38 +0100)
Replace a comma between expression statements by a semicolon.

Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/ab8500_fg.c

index 3873e48..06ff42c 100644 (file)
@@ -857,7 +857,7 @@ static int ab8500_fg_volt_to_capacity(struct ab8500_fg *di, int voltage)
        const struct abx500_v_to_cap *tbl;
        int cap = 0;
 
-       tbl = di->bm->bat_type[di->bm->batt_id].v_to_cap_tbl,
+       tbl = di->bm->bat_type[di->bm->batt_id].v_to_cap_tbl;
        tbl_size = di->bm->bat_type[di->bm->batt_id].n_v_cap_tbl_elements;
 
        for (i = 0; i < tbl_size; ++i) {