power: supply: abx500_chargalg: Remove unneeded semicolon
authorMa Feng <mafeng.ma@huawei.com>
Thu, 19 Dec 2019 01:46:31 +0000 (09:46 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Thu, 19 Dec 2019 17:05:28 +0000 (18:05 +0100)
Fixes coccicheck warning:

drivers/power/supply/abx500_chargalg.c:1826:2-3: Unneeded semicolon

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ma Feng <mafeng.ma@huawei.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/abx500_chargalg.c

index e6e37d4f20e487be5bd7a78c946d5b2f7954b09c..2fb33a07879a3b6af8a53df920e47bca119cf0a1 100644 (file)
@@ -1823,7 +1823,7 @@ static ssize_t abx500_chargalg_en_store(struct abx500_chargalg *di,
                        "Enter 0. Disable AC/USB Charging\n"
                        "1. Enable AC charging\n"
                        "2. Enable USB Charging\n");
-       };
+       }
        return strlen(buf);
 }