]> www.infradead.org Git - users/hch/misc.git/commitdiff
power: supply: cw2015: Fix a alignment coding style issue
authorAndy Yan <andyshrk@163.com>
Mon, 18 Aug 2025 12:32:59 +0000 (20:32 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Sat, 6 Sep 2025 21:50:19 +0000 (23:50 +0200)
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>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/supply/cw2015_battery.c

index afc607fee5c96f7b2e6b7e0dc86d4a1c8735a16c..2263d5d3448fdfbd634b337dca7204cb248c7fe5 100644 (file)
@@ -699,8 +699,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;