aboutsummaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorJiapeng Chong2021-02-24 15:15:10 +0800
committerSebastian Reichel2021-03-06 18:39:05 +0100
commitc018b5322a449ec98888b734805d0bc0ed7b2da0 (patch)
tree3ce566febc4d1e474106871bad9545b17c5a1515 /drivers/power
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
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')
-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;