[PATCH] power: supply: cw2015: Fix a alignment coding style issue

Andy Yan posted 1 patch 1 month, 2 weeks ago
drivers/power/supply/cw2015_battery.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
[PATCH] power: supply: cw2015: Fix a alignment coding style issue
Posted by Andy Yan 1 month, 2 weeks ago
Fix the checkpatch warning:
CHECK: Alignment should match open parenthesis

Fixes: 0cb172a4918e ("power: supply: cw2015: Use device managed API to simplify the code")
Signed-off-by: Andy Yan <andyshrk@163.com>
---

 drivers/power/supply/cw2015_battery.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/drivers/power/supply/cw2015_battery.c b/drivers/power/supply/cw2015_battery.c
index f63c3c410451..382dff8805c6 100644
--- a/drivers/power/supply/cw2015_battery.c
+++ b/drivers/power/supply/cw2015_battery.c
@@ -702,8 +702,7 @@ static int cw_bat_probe(struct i2c_client *client)
 	if (!cw_bat->battery_workqueue)
 		return -ENOMEM;
 
-	devm_delayed_work_autocancel(&client->dev,
-							  &cw_bat->battery_delay_work, cw_bat_work);
+	devm_delayed_work_autocancel(&client->dev, &cw_bat->battery_delay_work, cw_bat_work);
 	queue_delayed_work(cw_bat->battery_workqueue,
 			   &cw_bat->battery_delay_work, msecs_to_jiffies(10));
 	return 0;
-- 
2.43.0

base-commit: 079dc9ff6c3e30152ce69c162b02893bf741d2db
branch: master
Re: [PATCH] power: supply: cw2015: Fix a alignment coding style issue
Posted by Sebastian Reichel 3 weeks, 6 days ago
On Mon, 18 Aug 2025 20:32:59 +0800, Andy Yan wrote:
> Fix the checkpatch warning:
> CHECK: Alignment should match open parenthesis
> 
> 

Applied, thanks!

[1/1] power: supply: cw2015: Fix a alignment coding style issue
      commit: def5612170a8c6c4c6a3ea5bd6c3cfc8de6ba4b1

Best regards,
-- 
Sebastian Reichel <sebastian.reichel@collabora.com>