summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorMa Feng <mafeng.ma@huawei.com>2019-12-19 09:46:31 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2019-12-19 18:05:28 +0100
commit921377c0b4e8e240e0b56cb13bc22f2ecc4e59df (patch)
tree01c87557e28bc96ef96a93a56736386095f5d650 /drivers/power
parente15c54d208f933fe004b2e5fcdd741d3ea408df1 (diff)
downloadlinux-stable-921377c0b4e8e240e0b56cb13bc22f2ecc4e59df.tar.gz
linux-stable-921377c0b4e8e240e0b56cb13bc22f2ecc4e59df.tar.bz2
linux-stable-921377c0b4e8e240e0b56cb13bc22f2ecc4e59df.zip
power: supply: abx500_chargalg: Remove unneeded semicolon
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/supply/abx500_chargalg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/abx500_chargalg.c b/drivers/power/supply/abx500_chargalg.c
index e6e37d4f20e4..2fb33a07879a 100644
--- a/drivers/power/supply/abx500_chargalg.c
+++ b/drivers/power/supply/abx500_chargalg.c
@@ -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);
}