[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1614150910-21023-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date: Wed, 24 Feb 2021 15:15:10 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: sre@...nel.org
Cc: lgirdwood@...il.com, broonie@...nel.org, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] 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@...ux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
---
drivers/power/supply/max8997_charger.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.8.3.1
Powered by blists - more mailing lists