summaryrefslogtreecommitdiff
path: root/drivers/power/supply/max8997_charger.c
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2021-02-24 10:15:10 +0300
committerSebastian Reichel <sre@kernel.org>2021-03-06 20:39:05 +0300
commitc018b5322a449ec98888b734805d0bc0ed7b2da0 (patch)
tree3ce566febc4d1e474106871bad9545b17c5a1515 /drivers/power/supply/max8997_charger.c
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
downloadlinux-c018b5322a449ec98888b734805d0bc0ed7b2da0.tar.xz
power: supply: max8997-charger: remove unneeded semicolon
Fix the following coccicheck warnings: ./drivers/power/supply/max8997_charger.c:266:3-4: Unneeded semicolon. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'drivers/power/supply/max8997_charger.c')
-rw-r--r--drivers/power/supply/max8997_charger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/supply/max8997_charger.c b/drivers/power/supply/max8997_charger.c
index 321bd6b8ee41..a90c01884026 100644
--- a/drivers/power/supply/max8997_charger.c
+++ b/drivers/power/supply/max8997_charger.c
@@ -263,7 +263,7 @@ static int max8997_battery_probe(struct platform_device *pdev)
if (ret) {
dev_err(&pdev->dev, "failed to register extcon notifier\n");
return ret;
- };
+ }
}
return 0;