diff mbox series

power: supply: max8997-charger: remove unneeded semicolon

Message ID 1614150910-21023-1-git-send-email-jiapeng.chong@linux.alibaba.com
State Accepted
Commit c018b5322a449ec98888b734805d0bc0ed7b2da0
Headers show
Series power: supply: max8997-charger: remove unneeded semicolon | expand

Commit Message

Jiapeng Chong Feb. 24, 2021, 7:15 a.m. UTC
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>
---
 drivers/power/supply/max8997_charger.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/power/supply/max8997_charger.c b/drivers/power/supply/max8997_charger.c
index 321bd6b..a90c018 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;